commit | 50772dc51ac02239958e1ebcdb21277fcdf133a7 | [log] [tgz] |
---|---|---|
author | osdl.net!shemminger <osdl.net!shemminger> | Tue Dec 07 21:48:29 2004 +0000 |
committer | osdl.net!shemminger <osdl.net!shemminger> | Tue Dec 07 21:48:29 2004 +0000 |
tree | 046815d1c53ba3eb084f33b70a0de978ec487285 | |
parent | 7c8fdcd3bebf345ea56725c620acddb95334004a [diff] [blame] |
Add ip rule flush capabilty and fix all the prototype changes because of that code rewrites the nlmsghdr. (Logical change 1.106)
diff --git a/tc/tc_class.c b/tc/tc_class.c index 0352fd6..b4aae95 100644 --- a/tc/tc_class.c +++ b/tc/tc_class.c
@@ -152,7 +152,7 @@ __u32 filter_qdisc; static int print_class(const struct sockaddr_nl *who, - const struct nlmsghdr *n, void *arg) + struct nlmsghdr *n, void *arg) { FILE *fp = (FILE*)arg; struct tcmsg *t = NLMSG_DATA(n);