From 4c811881d33c702464e7bf02e8ce16b3cc3eb1fc Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 9 May 2010 20:49:25 +0200 Subject: fix rtnl-link-dump3.c commit a5f25889216411ad7492047fafe6de03b8408440 introduced a minor problem in this example. Signed-off-by: Pablo Neira Ayuso --- examples/rtnl-link-dump3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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: -- cgit v1.2.3