From bd8fbd95c8f1854b6a070b6af3ce7ad66e462469 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 5 Jan 2001 15:20:07 +0000 Subject: o serveral changes / additions to libiptc: - iptc_set_policy has additional argument 'counters' to be consistent with iptc_get_policy - added functions for counter manipulation (iptc_read_counter, iptc_zero_counter, iptc_set_counter) o iptables-save and iptables-restore manpage clearifications o iptables-restore counter restoring for chain counters --- iptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index e6b0288..2079b68 100644 --- a/iptables.c +++ b/iptables.c @@ -2195,7 +2195,7 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle) ret = iptc_rename_chain(chain, newname, handle); break; case CMD_SET_POLICY: - ret = iptc_set_policy(chain, policy, handle); + ret = iptc_set_policy(chain, policy, NULL, handle); break; default: /* We should never reach this... */ -- cgit v1.2.3