diff options
author | Maciej Zenczykowski <maze@google.com> | 2011-04-04 15:37:13 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-04-04 15:37:13 +0200 |
commit | bb9fe8059f40f0dde9c780498f5af42f5aa6a179 (patch) | |
tree | d1ef0622b06e6164d135aeda36d2d51df0b9add6 /iptables.c | |
parent | 85aae15567b8ae1eaedf9f011ba7aef80dfca208 (diff) |
v4: rename print_rule() to print_rule4()
Signed-off-by: Maciej Zenczykowski <maze@google.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |