diff options
Diffstat (limited to 'ip6t_DNPTV6.c')
-rw-r--r-- | ip6t_DNPTV6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ip6t_DNPTV6.c b/ip6t_DNPTV6.c index 506d0a5..ea09835 100644 --- a/ip6t_DNPTV6.c +++ b/ip6t_DNPTV6.c @@ -48,16 +48,16 @@ static unsigned int dnptv6_tg6(struct sk_buff *skb, const struct xt_action_param return NF_ACCEPT; } -static int dnptv6_tg6_check(const struct xt_tgchk_param *par) +static CHECKENTRY_RET dnptv6_tg6_check(const struct xt_tgchk_param *par) { const struct ip6t_nptv6_info *info = par->targinfo; if (info->nptv6_prefix_len > 64) { printk("DNPTV6: Prefix length longer than 64 given\n"); - return -EINVAL; + return CHECKENTRY_RET_EINVAL; } - return 0; + return CHECKENTRY_RET_SUCCESS; } static struct xt_target dnptv6_tg6_reg __read_mostly = { |