summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
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 /include/iptables.h
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 'include/iptables.h')
-rw-r--r--include/iptables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 84211c32..76cc8d67 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -13,7 +13,7 @@ extern int delete_chain(const ipt_chainlabel chain, int verbose,
struct iptc_handle *handle);
extern int flush_entries(const ipt_chainlabel chain, int verbose,
struct iptc_handle *handle);
-extern int for_each_chain(int (*fn)(const ipt_chainlabel, int, struct iptc_handle *),
+extern int for_each_chain4(int (*fn)(const ipt_chainlabel, int, struct iptc_handle *),
int verbose, int builtinstoo, struct iptc_handle *handle);
extern void print_rule(const struct ipt_entry *e,
struct iptc_handle *handle, const char *chain, int counters);