htb: fix indentation
iproute2 uses kernel style indenting
This commit is contained in:
parent
44f1ff0afc
commit
22fa92e367
|
|
@ -196,7 +196,7 @@ static int htb_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, str
|
|||
argc--; argv++;
|
||||
}
|
||||
|
||||
/* if (!ok)
|
||||
/* if (!ok)
|
||||
return 0;*/
|
||||
|
||||
if (opt.rate.rate == 0) {
|
||||
|
|
@ -254,7 +254,6 @@ static int htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
|||
parse_rtattr_nested(tb, TCA_HTB_RTAB, opt);
|
||||
|
||||
if (tb[TCA_HTB_PARMS]) {
|
||||
|
||||
hopt = RTA_DATA(tb[TCA_HTB_PARMS]);
|
||||
if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue