diff options
author | laforge <laforge> | 2001-01-05 15:20:07 +0000 |
---|---|---|
committer | laforge <laforge> | 2001-01-05 15:20:07 +0000 |
commit | bd8fbd95c8f1854b6a070b6af3ce7ad66e462469 (patch) | |
tree | 1ce5b64143d7ca4b041fdb4f4a6e6cafbf61f056 /ip6tables.c | |
parent | 97d05306a169f2f5022cad575bada0156e6a2c9b (diff) |
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
Diffstat (limited to 'ip6tables.c')
-rw-r--r-- | ip6tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6tables.c b/ip6tables.c index 31e5f52..045b4ba 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -1976,7 +1976,7 @@ int do_command6(int argc, char *argv[], char **table, ip6tc_handle_t *handle) ret = ip6tc_rename_chain(chain, newname, handle); break; case CMD_SET_POLICY: - ret = ip6tc_set_policy(chain, policy, handle); + ret = ip6tc_set_policy(chain, policy, NULL, handle); break; default: /* We should never reach this... */ |