Message ID | 20230308193033.13965-10-fw@strlen.de (mailing list archive) |
---|---|
State | Accepted |
Commit | b0ca200077b3872056e6a8291c9a50f803658c2a |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,1/9] netfilter: bridge: introduce broute meta statement | expand |
diff --git a/net/netfilter/nf_nat_core.c b/net/netfilter/nf_nat_core.c index e29e4ccb5c5a..ce829d434f13 100644 --- a/net/netfilter/nf_nat_core.c +++ b/net/netfilter/nf_nat_core.c @@ -549,8 +549,8 @@ get_unique_tuple(struct nf_conntrack_tuple *tuple, if (range->flags & NF_NAT_RANGE_PROTO_SPECIFIED) { if (!(range->flags & NF_NAT_RANGE_PROTO_OFFSET) && l4proto_in_range(tuple, maniptype, - &range->min_proto, - &range->max_proto) && + &range->min_proto, + &range->max_proto) && (range->min_proto.all == range->max_proto.all || !nf_nat_used_tuple(tuple, ct))) return;