summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-09-22 15:39:27 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-09-22 15:22:47 +0200
commit6058f45ed32397e55739cdbdcc77159b579c1568 (patch)
tree65c1553cd8cfde3592ccea94d14a9d51bc6a98e9 /tools
parent7947ea9564ec4cbc79bb5b54004ba4f7424f9df5 (diff)
downloadconnman-6058f45ed32397e55739cdbdcc77159b579c1568.tar.gz
connman-6058f45ed32397e55739cdbdcc77159b579c1568.tar.bz2
connman-6058f45ed32397e55739cdbdcc77159b579c1568.zip
tools: Renaming add into append into iptables-test
Diffstat (limited to 'tools')
-rw-r--r--tools/iptables-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/iptables-test.c b/tools/iptables-test.c
index 8bbb39e0..d41bbf0f 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);
}
}