summaryrefslogtreecommitdiff
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-06-12 15:54:49 +0000
committerBernhard Reutner-Fischer2008-06-12 15:54:49 +0000
commit9de462205542547694299e9fe2bc321088ab79aa (patch)
tree65850070b30217dc6cbe91ed61bb218703f84723 /networking/libiproute/iproute.c
parent7e3d33b6ce36776debecc8a504e66dae1b7d0bb4 (diff)
downloadbusybox-9de462205542547694299e9fe2bc321088ab79aa.zip
busybox-9de462205542547694299e9fe2bc321088ab79aa.tar.gz
- 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/iproute.c')
-rw-r--r--networking/libiproute/iproute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 59cbf80..6977a09 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -78,7 +78,7 @@ static unsigned get_hz(void)
return hz_internal;
}
-static int print_route(struct sockaddr_nl *who ATTRIBUTE_UNUSED,
+static int print_route(const struct sockaddr_nl *who ATTRIBUTE_UNUSED,
struct nlmsghdr *n, void *arg)
{
FILE *fp = (FILE*)arg;