diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-03 13:25:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-03 13:25:37 +0200 |
commit | ba57ffc48d3a97421c8358947bc8cf9f2e7ff7c6 (patch) | |
tree | fdc23b19a491d255cdf8f755e999d1b191280628 /examples/rtnl-link-event.c | |
parent | abcaad6b65ed368c13c353ed71619332f76d9c2a (diff) |
revert abcaad6b65ed368c13c353ed71619332f76d9c2a
it's deeply broken 8-)
Diffstat (limited to 'examples/rtnl-link-event.c')
-rw-r--r-- | examples/rtnl-link-event.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/rtnl-link-event.c b/examples/rtnl-link-event.c index 3cff82d..ed5a577 100644 --- a/examples/rtnl-link-event.c +++ b/examples/rtnl-link-event.c @@ -14,10 +14,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; - printf("index=%d type=%d flags=%d family=%d ", ifm->ifi_index, ifm->ifi_type, ifm->ifi_flags, ifm->ifi_family); |