From: Harald Welte Date: Sat, 2 Nov 2002 14:48:17 +0000 (+0000) Subject: rename-chain has a mandatary argument, not an optional (Juergen Baumann) X-Git-Tag: v1.2.8-freeze~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68ec9c729976699f2472258f13c0476afcc5c7d3;p=thirdparty%2Fiptables.git rename-chain has a mandatary argument, not an optional (Juergen Baumann) --- 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' },