Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[server] if iptables init fails then no need to remove fwknop chains
This commit fixes a crash at init time in fwknopd if an improperly formatted IPT_INPUT_ACCESS variable is used in fwknopd.conf file. fwknopd should not try to delete chains with a bogus IPT_INPUT_ACCESS variable, and valgrind verifies that this change does not introduce any memory leaks (see the 'invalid iptables INPUT spec' tests run in --enable-valgrind mode).
- Loading branch information