Reverse the behavior change of -L option?
Since 1.3.0 none of the scripts I parse the output of 'iptables -nvL' works anymore because the order has changed from INPUT FORWARD OUTPUT USER to alphabetical. How do I revert back to the prior behavior?
gypsy
Quoted 3 lines · gypsy
Since 1.3.0 none of the scripts I parse the output of 'iptables -nvL' works anymore because the order has changed from INPUT FORWARD OUTPUT USER to alphabetical. How do I revert back to the prior behavior?
Change your scripts so that they don't assume any particular table order, and this problem will never happen again.
Alexey