diff options
author | Phil Sutter <phil@nwl.cc> | 2021-08-12 19:11:59 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-09-13 17:00:51 +0200 |
commit | fcbe454bf0d05612a8484723fd3e9299d4ee836f (patch) | |
tree | e1199864365c286457cf46d64dbcea4994a92fd8 /xlate-test.py | |
parent | 61e85e3192deaff3b9dd1eb9270863acc7a26311 (diff) |
tests: iptables-test: Fix missing chain case
If a chain line was really missing, Python complained about reference
before assignment of 'chain_array' variable. While being at it, reuse
print_error() function for reporting and allow to continue with the next
input file instead of exiting.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'xlate-test.py')
0 files changed, 0 insertions, 0 deletions