]> err.no Git - linux-2.6/commit
[NETFILTER]: ipt_DNAT: accept port randomization option
authorPatrick McHardy <kaber@trash.net>
Thu, 3 May 2007 10:34:03 +0000 (03:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 10:34:03 +0000 (03:34 -0700)
commit327850070b019a96853c533c152688546201c286
treed1e42c5b3a751566569b9a7655605f08dcff1402
parent0ec96822d5c0df77107c03b8d9a81a436ab707fc
[NETFILTER]: ipt_DNAT: accept port randomization option

Also accept the --random option for DNAT to allow randomly selecting a
destination port from the given range.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_rule.c