diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 12:01:57 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 12:01:57 (GMT) |
commit | 28233246cd8fad47613e7ffd85ea0b1d69c0f8c2 (patch) | |
tree | cb0da1bd9fa56ad81dd7fae0e4120840d54230df /lib/netfilter/log_msg.c | |
parent | 8cd39c9f4ca8731279ea6467a9d489902fcae7f9 (diff) | |
download | libnl-28233246cd8fad47613e7ffd85ea0b1d69c0f8c2.zip libnl-28233246cd8fad47613e7ffd85ea0b1d69c0f8c2.tar.gz libnl-28233246cd8fad47613e7ffd85ea0b1d69c0f8c2.tar.bz2 |
Allow parser callbacks to return NL_OK, NL_SKIP, NL_EXIT
Obsoletes internal P_ACCEPT/P_IGNORE
Diffstat (limited to 'lib/netfilter/log_msg.c')
-rw-r--r-- | lib/netfilter/log_msg.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/netfilter/log_msg.c b/lib/netfilter/log_msg.c index 33de482..cad6ddd 100644 --- a/lib/netfilter/log_msg.c +++ b/lib/netfilter/log_msg.c @@ -176,11 +176,6 @@ static int log_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, goto errout; err = pp->pp_cb((struct nl_object *) msg, pp); - if (err < 0) - goto errout; - - err = P_ACCEPT; - errout: nfnl_log_msg_put(msg); return err; |