diff options
| -rw-r--r-- | net/ipv4/netfilter/ip_nat_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_nat_helper.c b/net/ipv4/netfilter/ip_nat_helper.c index bea707e946e3..6721c9bfd180 100644 --- a/net/ipv4/netfilter/ip_nat_helper.c +++ b/net/ipv4/netfilter/ip_nat_helper.c @@ -191,7 +191,7 @@ ip_nat_mangle_tcp_packet(struct sk_buff **pskb, csum_partial((char *)tcph, tcph->doff*4, (*pskb)->csum)); adjust_tcp_sequence(ntohl(tcph->seq), - (int)match_len - (int)rep_len, + (int)rep_len - (int)match_len, ct, ctinfo); return 1; } |
