commit | f25b2355e889290879c8cecad3dd24ec0c384fb8 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Fri May 13 00:15:45 2011 +0200 |
committer | Jan Engelhardt <jengelh@medozas.de> | Fri May 13 02:00:01 2011 +0200 |
tree | a48977f15799809a3d22c9485c2cf0da6eb35ff5 | |
parent | e82d031af24c8155357c6f2d2b2e236bd6cf67e4 [diff] |
libipt_[SD]NAT: avoid false error about multiple destinations specified iptables-restore v1.4.10: DNAT: Multiple --to-destination not supported xtables_option_parse sets cb->xflags already, so that it cannot be directly used to test whether an option is being used for the second time. Thus use a private option/flag (X_TO_DEST/SRC) that is not under the control of xtables_option_parse. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>