From bb9fe8059f40f0dde9c780498f5af42f5aa6a179 Mon Sep 17 00:00:00 2001 From: Maciej Zenczykowski Date: Mon, 4 Apr 2011 15:37:13 +0200 Subject: v4: rename print_rule() to print_rule4() Signed-off-by: Maciej Zenczykowski Signed-off-by: Patrick McHardy --- iptables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index 5af832e5..b7c94981 100644 --- a/iptables.c +++ b/iptables.c @@ -1101,7 +1101,7 @@ static void print_ip(const char *prefix, uint32_t 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 ipt_entry *e, +void print_rule4(const struct ipt_entry *e, struct iptc_handle *h, const char *chain, int counters) { const struct ipt_entry_target *t; @@ -1224,7 +1224,7 @@ list_rules(const ipt_chainlabel chain, int rulenum, int counters, while(e) { num++; if (!rulenum || num == rulenum) - print_rule(e, handle, this, counters); + print_rule4(e, handle, this, counters); e = iptc_next_rule(e, handle); } found = 1; -- cgit v1.2.3