aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter/xt_HL.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_HL.c')
-rw-r--r--net/netfilter/xt_HL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_HL.c b/net/netfilter/xt_HL.c
index 7a47383ec72..77b99f73271 100644
--- a/net/netfilter/xt_HL.c
+++ b/net/netfilter/xt_HL.c
@@ -107,7 +107,7 @@ static int ttl_tg_check(const struct xt_tgchk_param *par)
if (info->mode > IPT_TTL_MAXMODE) {
pr_info("TTL: invalid or unknown mode %u\n", info->mode);
- return false;
+ return -EINVAL;
}
if (info->mode != IPT_TTL_SET && info->ttl == 0)
return -EINVAL;