diff options
author | Harald Welte <laforge@gnumonks.org> | 2001-01-05 15:20:07 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2001-01-05 15:20:07 +0000 |
commit | d8e6563430ab692cf093a81b9b6ac997739d9504 (patch) | |
tree | 1ce5b64143d7ca4b041fdb4f4a6e6cafbf61f056 /iptables.c | |
parent | 117341ada43ddf24ada265a6a9f354c77062dd4f (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 'iptables.c')
-rw-r--r-- | iptables.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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... */ |