From 6058f45ed32397e55739cdbdcc77159b579c1568 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Thu, 22 Sep 2011 15:39:27 +0300 Subject: [PATCH] tools: Renaming add into append into iptables-test --- tools/iptables-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/iptables-test.c b/tools/iptables-test.c index 8bbb39e..d41bbf0 100644 --- a/tools/iptables-test.c +++ b/tools/iptables-test.c @@ -660,7 +660,7 @@ static struct ipt_entry *prepare_rule_inclusion(struct connman_iptables *table, } static int -connman_iptables_add_rule(struct connman_iptables *table, +connman_iptables_append_rule(struct connman_iptables *table, struct ipt_ip *ip, char *chain_name, char *target_name, struct xtables_target *xt_t, char *match_name, struct xtables_match *xt_m) @@ -1320,10 +1320,10 @@ int main(int argc, char *argv[]) connman_iptables_insert_rule(table, &ip, chain, target_name, xt_t, match_name, xt_m); } else { - printf("Adding %s to %s (match %s)\n", target_name, + printf("Appending %s to %s (match %s)\n", target_name, chain, match_name); - connman_iptables_add_rule(table, &ip, chain, + connman_iptables_append_rule(table, &ip, chain, target_name, xt_t, match_name, xt_m); } } -- 2.7.4