|
@@ -1198,8 +1198,8 @@ static int snmp_translate(struct nf_conn *ct,
|
|
map.to = NOCT1(&ct->tuplehash[!dir].tuple.dst.u3.ip);
|
|
map.to = NOCT1(&ct->tuplehash[!dir].tuple.dst.u3.ip);
|
|
} else {
|
|
} else {
|
|
/* DNAT replies */
|
|
/* DNAT replies */
|
|
- map.from = NOCT1(&ct->tuplehash[dir].tuple.src.u3.ip);
|
|
|
|
- map.to = NOCT1(&ct->tuplehash[!dir].tuple.dst.u3.ip);
|
|
|
|
|
|
+ map.from = NOCT1(&ct->tuplehash[!dir].tuple.src.u3.ip);
|
|
|
|
+ map.to = NOCT1(&ct->tuplehash[dir].tuple.dst.u3.ip);
|
|
}
|
|
}
|
|
|
|
|
|
if (map.from == map.to)
|
|
if (map.from == map.to)
|