diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-05-09 20:49:25 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-05-09 20:49:25 +0200 |
commit | 4c811881d33c702464e7bf02e8ce16b3cc3eb1fc (patch) | |
tree | 55169f175a2154d4e06a89f39ac423ac72462ca6 /examples | |
parent | a5f25889216411ad7492047fafe6de03b8408440 (diff) | |
download | libmnl-4c811881d33c702464e7bf02e8ce16b3cc3eb1fc.tar.gz libmnl-4c811881d33c702464e7bf02e8ce16b3cc3eb1fc.zip |
fix rtnl-link-dump3.c
commit a5f25889216411ad7492047fafe6de03b8408440 introduced a minor
problem in this example.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/rtnl-link-dump3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rtnl-link-dump3.c b/examples/rtnl-link-dump3.c index 3c1473e..6d06d7c 100644 --- a/examples/rtnl-link-dump3.c +++ b/examples/rtnl-link-dump3.c @@ -33,7 +33,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data) /* skip unsupported attribute in user-space */ if (mnl_attr_type_valid(attr, IFLA_MAX) < 0) - return MNL_CB_OK; + continue; switch(type) { case IFLA_MTU: |