commit | 14ee9e615939b5bd193279535a0368d5f43950e3 | [log] [tgz] |
---|---|---|
author | 6!tgraf <6!tgraf> | Tue Jan 18 22:11:58 2005 +0000 |
committer | 6!tgraf <6!tgraf> | Tue Jan 18 22:11:58 2005 +0000 |
tree | 949f5cee8e5e161f4976f13453abadca95810a1c | |
parent | 87bc1f03ad3fb16f7c58becec9843378a7154495 [diff] [blame] |
Use parse_rtattr_nested (Logical change 1.129)
diff --git a/tc/q_htb.c b/tc/q_htb.c index abc4971..828d4b1 100644 --- a/tc/q_htb.c +++ b/tc/q_htb.c
@@ -246,8 +246,7 @@ if (opt == NULL) return 0; - memset(tb, 0, sizeof(tb)); - parse_rtattr(tb, TCA_HTB_RTAB, RTA_DATA(opt), RTA_PAYLOAD(opt)); + parse_rtattr_nested(tb, TCA_HTB_RTAB, opt); if (tb[TCA_HTB_PARMS]) {