diff options
author | Patrick McHardy <kaber@trash.net> | 2009-09-01 12:34:01 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-09-01 12:34:01 (GMT) |
commit | 8a56df0ae1690f8f42a3c6c4532f4b06f93febea (patch) | |
tree | d5227a7629942deaa5f632675894060494ecea85 /net/bridge | |
parent | 94b265514a8398ba3cfecb5a821a027b68a5c38e (diff) | |
download | linux-8a56df0ae1690f8f42a3c6c4532f4b06f93febea.tar.xz |
netfilter: ebt_ulog: fix checkentry return value
Commit 19eda87 (netfilter: change return types of check functions for
Ebtables extensions) broke the ebtables ulog module by missing a return
value conversion.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/netfilter/ebt_ulog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c index 133eeae..ce50688 100644 --- a/net/bridge/netfilter/ebt_ulog.c +++ b/net/bridge/netfilter/ebt_ulog.c @@ -266,7 +266,7 @@ static bool ebt_ulog_tg_check(const struct xt_tgchk_param *par) if (uloginfo->qthreshold > EBT_ULOG_MAX_QLEN) uloginfo->qthreshold = EBT_ULOG_MAX_QLEN; - return 0; + return true; } static struct xt_target ebt_ulog_tg_reg __read_mostly = { |