diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-12 19:54:49 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-12 19:54:49 +0400 |
commit | 9de462205542547694299e9fe2bc321088ab79aa (patch) | |
tree | 65850070b30217dc6cbe91ed61bb218703f84723 /networking/libiproute/libnetlink.h | |
parent | 7e3d33b6ce36776debecc8a504e66dae1b7d0bb4 (diff) |
- 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/libnetlink.h')
-rw-r--r-- | networking/libiproute/libnetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index 7507c52e7..6c1a88129 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h @@ -27,7 +27,7 @@ extern void rtnl_close(struct rtnl_handle *rth); extern int xrtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type); extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len); extern int xrtnl_dump_filter(struct rtnl_handle *rth, - int (*filter)(struct sockaddr_nl*, struct nlmsghdr *n, void*), + int (*filter)(const struct sockaddr_nl*, struct nlmsghdr *n, void*), void *arg1); /* bbox doesn't use parameters no. 3, 4, 6, 7, stub them out */ |