summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-11-02 14:48:17 +0000
committerHarald Welte <laforge@gnumonks.org>2002-11-02 14:48:17 +0000
commit68ec9c729976699f2472258f13c0476afcc5c7d3 (patch)
tree3b92fc3b8177bf1ee1e6d18bb7097880840714ba
parent955c3dc3da0c1c07d682f634feb057ec3f983a59 (diff)
rename-chain has a mandatary argument, not an optional (Juergen Baumann)
-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' },