From 9de462205542547694299e9fe2bc321088ab79aa Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 12 Jun 2008 15:54:49 +0000 Subject: - make the first arg of the filter function passed to rtnl_dump_filter constant to match normal iproute. No obj-code changes. --- networking/libiproute/iprule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/libiproute/iprule.c') 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) } */ -static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED, +static int print_rule(const struct sockaddr_nl *who ATTRIBUTE_UNUSED, struct nlmsghdr *n, void *arg ATTRIBUTE_UNUSED) { struct rtmsg *r = NLMSG_DATA(n); -- cgit v1.2.3