summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
diff options
context:
space:
mode:
authorMaciej Zenczykowski <maze@google.com>2011-04-04 15:34:28 +0200
committerPatrick McHardy <kaber@trash.net>2011-04-04 15:34:28 +0200
commite70844a98d125679cfe0c62e48d0f19bf175280d (patch)
tree941d734b984d37653c67306047a39c912f9d572c /iptables-restore.c
parenta85112dc330188035a8d7a58cab499d7672e4d87 (diff)
v4: rename for_each_chain() to for_each_chain4()
Signed-off-by: Maciej Zenczykowski <maze@google.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index 34a81563..d3b71246 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -233,12 +233,12 @@ 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_chain4(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_chain4(delete_chain, verbose, 0,
handle);
}