git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: xtables: change targets to return error code
[safe/jmp/linux-2.6]
/
net
/
bridge
/
netfilter
/
ebt_nflog.c
diff --git
a/net/bridge/netfilter/ebt_nflog.c
b/net/bridge/netfilter/ebt_nflog.c
index
1f2b7bb
..
22e2ad5
100644
(file)
--- a/
net/bridge/netfilter/ebt_nflog.c
+++ b/
net/bridge/netfilter/ebt_nflog.c
@@
-40,9
+40,9
@@
static int ebt_nflog_tg_check(const struct xt_tgchk_param *par)
struct ebt_nflog_info *info = par->targinfo;
if (info->flags & ~EBT_NFLOG_MASK)
- return
false
;
+ return
-EINVAL
;
info->prefix[EBT_NFLOG_PREFIX_SIZE - 1] = '\0';
- return
true
;
+ return
0
;
}
static struct xt_target ebt_nflog_tg_reg __read_mostly = {