git://git.onelab.eu
/
iproute2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync to iproute2-2.6.16-060323
[iproute2.git]
/
tc
/
q_cbq.c
diff --git
a/tc/q_cbq.c
b/tc/q_cbq.c
index
40c0228
..
a456eda
100644
(file)
--- a/
tc/q_cbq.c
+++ b/
tc/q_cbq.c
@@
-70,7
+70,7
@@
static int cbq_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nl
}
} else if (strcmp(*argv, "ewma") == 0) {
NEXT_ARG();
}
} else if (strcmp(*argv, "ewma") == 0) {
NEXT_ARG();
- if (get_
unsigned
(&ewma_log, *argv, 0)) {
+ if (get_
integer
(&ewma_log, *argv, 0)) {
explain1("ewma");
return -1;
}
explain1("ewma");
return -1;
}
@@
-236,7
+236,7
@@
static int cbq_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, str
lss.change |= TCF_CBQ_LSS_FLAGS;
} else if (strcmp(*argv, "ewma") == 0) {
NEXT_ARG();
lss.change |= TCF_CBQ_LSS_FLAGS;
} else if (strcmp(*argv, "ewma") == 0) {
NEXT_ARG();
- if (get_
u32
(&ewma_log, *argv, 0)) {
+ if (get_
integer
(&ewma_log, *argv, 0)) {
explain1("ewma");
return -1;
}
explain1("ewma");
return -1;
}