summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ip6tables.c2
-rw-r--r--iptables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables.c b/ip6tables.c
index 023acbf5..6ee460b2 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -119,7 +119,7 @@ static struct option original_opts[] = {
{ "zero", 2, 0, 'Z' },
{ "new-chain", 1, 0, 'N' },
{ "delete-chain", 2, 0, 'X' },
- { "rename-chain", 2, 0, 'E' },
+ { "rename-chain", 1, 0, 'E' },
{ "policy", 1, 0, 'P' },
{ "source", 1, 0, 's' },
{ "destination", 1, 0, 'd' },
diff --git a/iptables.c b/iptables.c
index fa570c5c..a0a1dd22 100644
--- a/iptables.c
+++ b/iptables.c
@@ -117,7 +117,7 @@ static struct option original_opts[] = {
{ "zero", 2, 0, 'Z' },
{ "new-chain", 1, 0, 'N' },
{ "delete-chain", 2, 0, 'X' },
- { "rename-chain", 2, 0, 'E' },
+ { "rename-chain", 1, 0, 'E' },
{ "policy", 1, 0, 'P' },
{ "source", 1, 0, 's' },
{ "destination", 1, 0, 'd' },