diff options
author | Maciej Zenczykowski <maze@google.com> | 2011-04-04 15:34:54 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-04-04 15:34:54 +0200 |
commit | 241e73594f6d75e32a7e89ebdb6b7f7917a48df0 (patch) | |
tree | 4a3c4e8a1293d3ac243fa9a8696f533fe764ea88 /ip6tables-restore.c | |
parent | e70844a98d125679cfe0c62e48d0f19bf175280d (diff) |
v6: rename for_each_chain() to for_each_chain6()
Signed-off-by: Maciej Zenczykowski <maze@google.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r-- | ip6tables-restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c index 48ff98ce..a4e37078 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c @@ -226,12 +226,12 @@ int main(int argc, char *argv[]) if (noflush == 0) { DEBUGP("Cleaning all chains of table '%s'\n", table); - for_each_chain(flush_entries, verbose, 1, + for_each_chain6(flush_entries, verbose, 1, handle); DEBUGP("Deleting all user-defined chains " "of table '%s'\n", table); - for_each_chain(delete_chain, verbose, 0, + for_each_chain6(delete_chain, verbose, 0, handle); } |