Displaying 1 result from an estimated 1 matches for "flush_entri".
Did you mean:
flush_entries
2018 Apr 09
1
[Bug 1242] New: noflush actually flushes in case of custom chain
...type --dst-type LOCAL -j DOCKER
COMMIT
I believe the bug is in
iptables-restore.c
line 369
if (noflush && ops->is_chain(chain, handle)) {
DEBUGP("Flushing existing user defined chain '%s'\n",
chain);
if (!ops->flush_entries(chain, handle))
xtables_error(PARAMETER_PROBLEM,
"error flushing chain "
"'%s':%s\n", chain,
strerror(errno));
where it should be if(!noflush %% ops-&g...