From 0fe858553c4ffbfec36e22e74456205d20d46fec Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Sat, 4 Feb 2006 02:19:46 -0800 Subject: [PATCH] --- yaml --- r: 19831 b: refs/heads/master c: 7918d212df31fb7ddfb317c5a8dccdcec647d754 h: refs/heads/master i: 19829: 769b3f7c4c6b71c21e337a2db2312b7aa49c1b57 19827: 35f05905815ca07f5adb3c5998050dd21cd88f23 19823: 33a6712d5f09566c2c392b7d006fec2ad70381b4 v: v3 --- [refs] | 2 +- trunk/net/ipv4/netfilter/ip_nat_standalone.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index fb7f1b1c4f26..1038c12f8bad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0047c65a60fa3b6607b55e058ea6a89f39cb3f28 +refs/heads/master: 7918d212df31fb7ddfb317c5a8dccdcec647d754 diff --git a/trunk/net/ipv4/netfilter/ip_nat_standalone.c b/trunk/net/ipv4/netfilter/ip_nat_standalone.c index ad438fb185b8..92c54999a19d 100644 --- a/trunk/net/ipv4/netfilter/ip_nat_standalone.c +++ b/trunk/net/ipv4/netfilter/ip_nat_standalone.c @@ -209,8 +209,8 @@ ip_nat_in(unsigned int hooknum, && (ct = ip_conntrack_get(*pskb, &ctinfo)) != NULL) { enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); - if (ct->tuplehash[dir].tuple.src.ip != - ct->tuplehash[!dir].tuple.dst.ip) { + if (ct->tuplehash[dir].tuple.dst.ip != + ct->tuplehash[!dir].tuple.src.ip) { dst_release((*pskb)->dst); (*pskb)->dst = NULL; }