From 9680f2ecbdb7e5c61ab60e7399e9ca9f1013fd8d Mon Sep 17 00:00:00 2001 From: Maciej Zenczykowski Date: Mon, 4 Apr 2011 15:37:43 +0200 Subject: v6: rename print_rule() to print_rule6() Signed-off-by: Maciej Zenczykowski Signed-off-by: Patrick McHardy --- ip6tables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ip6tables.c') 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; -- cgit v1.2.3