- make the first arg of the filter function passed to rtnl_dump_filter constant

to match normal iproute. No obj-code changes.
This commit is contained in:
Bernhard Reutner-Fischer
2008-06-12 15:54:49 +00:00
parent 7e3d33b6ce
commit 9de4622055
7 changed files with 10 additions and 10 deletions

View File

@ -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 */