diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 14:01:57 +0200 |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 14:01:57 +0200 |
commit | 28233246cd8fad47613e7ffd85ea0b1d69c0f8c2 (patch) | |
tree | cb0da1bd9fa56ad81dd7fae0e4120840d54230df /lib/route/neightbl.c | |
parent | 8cd39c9f4ca8731279ea6467a9d489902fcae7f9 (diff) | |
download | libnl-28233246cd8fad47613e7ffd85ea0b1d69c0f8c2.tar.gz |
Allow parser callbacks to return NL_OK, NL_SKIP, NL_EXIT
Obsoletes internal P_ACCEPT/P_IGNORE
Diffstat (limited to 'lib/route/neightbl.c')
-rw-r--r-- | lib/route/neightbl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/route/neightbl.c b/lib/route/neightbl.c index d34205a..d6495be 100644 --- a/lib/route/neightbl.c +++ b/lib/route/neightbl.c @@ -217,10 +217,6 @@ static int neightbl_msg_parser(struct nl_cache_ops *ops, } err = pp->pp_cb((struct nl_object *) ntbl, pp); - if (err < 0) - goto errout; - - err = P_ACCEPT; errout: rtnl_neightbl_put(ntbl); return err; |