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/ip/ipneigh.c b/ip/ipneigh.c index c3105ef..33e90ad 100644 --- a/ip/ipneigh.c +++ b/ip/ipneigh.c
@@ -217,7 +217,7 @@ } -int print_neigh(const struct sockaddr_nl *who, const struct nlmsghdr *n, void *arg) +int print_neigh(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) { FILE *fp = (FILE*)arg; struct ndmsg *r = NLMSG_DATA(n);