From 68ec9c729976699f2472258f13c0476afcc5c7d3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 2 Nov 2002 14:48:17 +0000 Subject: rename-chain has a mandatary argument, not an optional (Juergen Baumann) --- ip6tables.c | 2 +- iptables.c | 2 +- 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' }, -- cgit v1.2.3