aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/libnetlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/libnetlink.c')
-rw-r--r--networking/libiproute/libnetlink.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c
index 9e6467de5..ba24832d6 100644
--- a/networking/libiproute/libnetlink.c
+++ b/networking/libiproute/libnetlink.c
@@ -147,7 +147,8 @@ static int rtnl_dump_filter(struct rtnl_handle *rth,
147 147
148 if (nladdr.nl_pid != 0 || 148 if (nladdr.nl_pid != 0 ||
149 h->nlmsg_pid != rth->local.nl_pid || 149 h->nlmsg_pid != rth->local.nl_pid ||
150 h->nlmsg_seq != rth->dump) { 150 h->nlmsg_seq != rth->dump
151 ) {
151// if (junk) { 152// if (junk) {
152// err = junk(&nladdr, h, arg2); 153// err = junk(&nladdr, h, arg2);
153// if (err < 0) { 154// if (err < 0) {
@@ -281,7 +282,8 @@ int FAST_FUNC rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
281 282
282 if (nladdr.nl_pid != peer || 283 if (nladdr.nl_pid != peer ||
283 h->nlmsg_pid != rtnl->local.nl_pid || 284 h->nlmsg_pid != rtnl->local.nl_pid ||
284 h->nlmsg_seq != seq) { 285 h->nlmsg_seq != seq
286 ) {
285// if (junk) { 287// if (junk) {
286// l_err = junk(&nladdr, h, jarg); 288// l_err = junk(&nladdr, h, jarg);
287// if (l_err < 0) { 289// if (l_err < 0) {