Commit 22fa92e3 authored by Stephen Hemminger's avatar Stephen Hemminger

htb: fix indentation

iproute2 uses kernel style indenting
parent 44f1ff0a
...@@ -196,7 +196,7 @@ static int htb_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, str ...@@ -196,7 +196,7 @@ static int htb_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, str
argc--; argv++; argc--; argv++;
} }
/* if (!ok) /* if (!ok)
return 0;*/ return 0;*/
if (opt.rate.rate == 0) { if (opt.rate.rate == 0) {
...@@ -254,7 +254,6 @@ static int htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) ...@@ -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); parse_rtattr_nested(tb, TCA_HTB_RTAB, opt);
if (tb[TCA_HTB_PARMS]) { if (tb[TCA_HTB_PARMS]) {
hopt = RTA_DATA(tb[TCA_HTB_PARMS]); hopt = RTA_DATA(tb[TCA_HTB_PARMS]);
if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1; if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment