diff options
-rw-r--r-- | src/ratelimiter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c index be3e6a1..61f7895 100644 --- a/src/ratelimiter.c +++ b/src/ratelimiter.c @@ -99,13 +99,11 @@ bool ratelimiter_allow(struct ratelimiter *ratelimiter, struct sk_buff *skb) action.match = v4_match; action.matchinfo = &ratelimiter->v4_info; action.thoff = ip_hdrlen(skb); - action.family = NFPROTO_IPV4; } #if IS_ENABLED(CONFIG_IPV6) else if (ip_hdr(skb)->version == 6) { action.match = v6_match; action.matchinfo = &ratelimiter->v6_info; - action.family = NFPROTO_IPV6; } #endif else |