summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorMart Frauenlob <mart.frauenlob@chello.at>2013-03-20 04:14:06 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-03-29 16:48:11 +0100
commitbf75fc041b35c75c2c592e01f1906771e00ce4eb (patch)
treeca2a2b0fc32a3f2e2b052f1684fded2dd0077cce /iptables
parent37b19d08f3cbc83a653386d76261490e173a874b (diff)
ip[6]tables: show --protocol instead of --proto in usage
As the man page shows --protocol not --proto, also do so in the usage text displayed by ip[6]tables -h. Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/ip6tables.c2
-rw-r--r--iptables/iptables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c
index 7d02cc12..c8d34e2d 100644
--- a/iptables/ip6tables.c
+++ b/iptables/ip6tables.c
@@ -237,7 +237,7 @@ exit_printhelp(const struct xtables_rule_match *matches)
"Options:\n"
" --ipv4 -4 Error (line is ignored by ip6tables-restore)\n"
" --ipv6 -6 Nothing (line is ignored by iptables-restore)\n"
-"[!] --proto -p proto protocol: by number or name, eg. `tcp'\n"
+"[!] --protocol -p proto protocol: by number or name, eg. `tcp'\n"
"[!] --source -s address[/mask][,...]\n"
" source specification\n"
"[!] --destination -d address[/mask][,...]\n"
diff --git a/iptables/iptables.c b/iptables/iptables.c
index 085eea16..79fa37b1 100644
--- a/iptables/iptables.c
+++ b/iptables/iptables.c
@@ -231,7 +231,7 @@ exit_printhelp(const struct xtables_rule_match *matches)
"Options:\n"
" --ipv4 -4 Nothing (line is ignored by ip6tables-restore)\n"
" --ipv6 -6 Error (line is ignored by iptables-restore)\n"
-"[!] --proto -p proto protocol: by number or name, eg. `tcp'\n"
+"[!] --protocol -p proto protocol: by number or name, eg. `tcp'\n"
"[!] --source -s address[/mask][...]\n"
" source specification\n"
"[!] --destination -d address[/mask][...]\n"