summaryrefslogtreecommitdiffstats
path: root/ip6tables.c
diff options
context:
space:
mode:
authorMaciej Zenczykowski <maze@google.com>2011-04-04 15:37:43 +0200
committerPatrick McHardy <kaber@trash.net>2011-04-04 15:37:43 +0200
commit9680f2ecbdb7e5c61ab60e7399e9ca9f1013fd8d (patch)
treee4d7ce6a3d0d8b483ed3cf80c51c7ba37828ff9d /ip6tables.c
parentbb9fe8059f40f0dde9c780498f5af42f5aa6a179 (diff)
v6: rename print_rule() to print_rule6()
Signed-off-by: Maciej Zenczykowski <maze@google.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'ip6tables.c')
-rw-r--r--ip6tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables.c b/ip6tables.c
index a8ea5515..83d8aed2 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -1083,7 +1083,7 @@ static void print_ip(const char *prefix, const struct in6_addr *ip,
/* We want this to be readable, so only print out neccessary fields.
* Because that's the kind of world I want to live in. */
-void print_rule(const struct ip6t_entry *e,
+void print_rule6(const struct ip6t_entry *e,
struct ip6tc_handle *h, const char *chain, int counters)
{
const struct ip6t_entry_target *t;
@@ -1215,7 +1215,7 @@ list_rules(const ip6t_chainlabel chain, int rulenum, int counters,
while(e) {
num++;
if (!rulenum || num == rulenum)
- print_rule(e, handle, this, counters);
+ print_rule6(e, handle, this, counters);
e = ip6tc_next_rule(e, handle);
}
found = 1;