libxt_NFQUEUE: fix --queue-bypass ipt-save output
Florian Westphal
maintainerPATCH 1/1 libxt_NFQUEUE: fix --queue-bypass ipt-save output
else, this will print "--queue-num 0--queue-bypass ".
Signed-off-by Florian Westphal <[email protected]>
--- extensions/libxt_NFQUEUE.c | 2 +- tests/options-most.rules | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-)
extensions/libxt_NFQUEUE.c +1 -1
@@ -152,7 +152,7 @@ static void NFQUEUE_save_v2(const void *ip, const struct xt_entry_target *targetNFQUEUE_save_v1 (ip, target);if (info->bypass) -printf ("--queue-bypass " ); +printf (" --queue-bypass" ); }static void NFQUEUE_init_v1 (struct xt_entry_target *t)
tests/options-most.rules +2 -0
@@ -178,6 +178,8 @@ -A ntarg -A ntarg -j NFQUEUE --queue-balance 8:99 -A ntarg +-A ntarg -j NFQUEUE --queue-num 0 --queue-bypass +-A ntarg -A ntarg -j RATEEST --rateest-name RE1 --rateest-interval 250.0ms --rateest-ewmalog 500.0ms -A ntarg -A ntarg -j RATEEST --rateest-name RE2 --rateest-interval 250.0ms --rateest-ewmalog 500.0ms
Signature · 1 line
1.7.3.4