diff options
Diffstat (limited to 'examples/rtnl-route-dump.c')
-rw-r--r-- | examples/rtnl-route-dump.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/rtnl-route-dump.c b/examples/rtnl-route-dump.c index 131d344..e8f3a0c 100644 --- a/examples/rtnl-route-dump.c +++ b/examples/rtnl-route-dump.c @@ -55,10 +55,6 @@ static int data_cb(const struct nlmsghdr *nlh, void *data) int len = mnl_nlmsg_get_len(nlh); struct nlattr *attr; - /* this does not come from the kernel. */ - if (nlh->nlmsg_pid != 0) - return MNL_CB_OK; - /* protocol family = AF_INET | AF_INET6 */ printf("family=%u ", rm->rtm_family); |