To make the printing of HFSC's defcls consistent with HTB's,
iproute2 is now printing defcls prepended with "0x".
This commit adapts test a4c3 to this change.
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Link: https://patch.msgid.link/20260307220724.2501212-1-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
"cmdUnderTest": "$TC class change dev $DUMMY parent 3:0 classid 3:1 hfsc sc m1 5Mbit d 10ms m2 10Mbit",
"expExitCode": "0",
"verifyCmd": "$TC -s qdisc show dev $DUMMY",
- "matchPattern": "qdisc hfsc 3:.*parent 1:2.*default 1",
+ "matchPattern": "qdisc hfsc 3:.*parent 1:2.*default 0x1",
"matchCount": "1",
"teardown": [
"$TC qdisc del dev $DUMMY handle 1:0 root",