DNAT: fix incorrect check during parsing
commit596c69007acb569843391e4c98dc21d6f2336e7b
authorPatrick McHardy <kaber@trash.net>
Fri, 6 Nov 2009 16:15:07 +0000 (6 17:15 +0100)
committerPatrick McHardy <kaber@trash.net>
Fri, 6 Nov 2009 16:15:07 +0000 (6 17:15 +0100)
tree3cf4cc286f13250191f8be01e217fc503e750db9
parent5fdf032a02b671bc1a18cec0e803c17c64175ab1
DNAT: fix incorrect check during parsing

Specifying --random before --to-dest results in:

Multiple --to-destination not supported

Fix the flags check to only test the IPT_DNAT_OPT_DEST bit.

Signed-off-by: Patrick McHardy <kaber@trash.net>
extensions/libipt_DNAT.c