![]() We don't need to parse out the counter values from the iptables-save output (since they are always 0 for the chains we care about). Just parse the chain names themselves. Also, all of the callers of GetChainLines() pass it input that contains only a single table, so just assume that, rather than carefully parsing only a single table's worth of the input. |
||
---|---|---|
.. | ||
testing | ||
doc.go | ||
iptables_linux.go | ||
iptables_test.go | ||
iptables_unsupported.go | ||
iptables.go | ||
monitor_test.go | ||
OWNERS | ||
save_restore_test.go | ||
save_restore.go |