From: Tomasz Bursztyka Date: Thu, 22 Sep 2011 12:39:27 +0000 (+0300) Subject: tools: Renaming add into append into iptables-test X-Git-Tag: 0.78~210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6058f45ed32397e55739cdbdcc77159b579c1568;p=platform%2Fupstream%2Fconnman.git tools: Renaming add into append into iptables-test --- 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); } }