diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-12 15:54:49 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-12 15:54:49 +0000 |
commit | 9de462205542547694299e9fe2bc321088ab79aa (patch) | |
tree | 65850070b30217dc6cbe91ed61bb218703f84723 /networking/libiproute/iprule.c | |
parent | 7e3d33b6ce36776debecc8a504e66dae1b7d0bb4 (diff) | |
download | busybox-w32-9de462205542547694299e9fe2bc321088ab79aa.tar.gz busybox-w32-9de462205542547694299e9fe2bc321088ab79aa.tar.bz2 busybox-w32-9de462205542547694299e9fe2bc321088ab79aa.zip |
- make the first arg of the filter function passed to rtnl_dump_filter constant
to match normal iproute. No obj-code changes.
Diffstat (limited to 'networking/libiproute/iprule.c')
-rw-r--r-- | networking/libiproute/iprule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index f62429a7c..2ee7701f8 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c | |||
@@ -40,7 +40,7 @@ static void usage(void) | |||
40 | } | 40 | } |
41 | */ | 41 | */ |
42 | 42 | ||
43 | static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED, | 43 | static int print_rule(const struct sockaddr_nl *who ATTRIBUTE_UNUSED, |
44 | struct nlmsghdr *n, void *arg ATTRIBUTE_UNUSED) | 44 | struct nlmsghdr *n, void *arg ATTRIBUTE_UNUSED) |
45 | { | 45 | { |
46 | struct rtmsg *r = NLMSG_DATA(n); | 46 | struct rtmsg *r = NLMSG_DATA(n); |