[NETFILTER]: nf_nat: fix random mode not to overwrite port rover
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:46 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:46 +0000 (11:15 +0200)
commit5abd363f738dcd048ee790fb9b84d0768a8a407f
treed6b7351ee220614e4aeed8130452da579bd4a530
parent937e0dfd87a8b7946a17161664500fba93eb13fd
[NETFILTER]: nf_nat: fix random mode not to overwrite port rover

The port rover should not get overwritten when using random mode,
otherwise other rules will also use more or less random ports.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/nf_nat_proto_common.c