From 31d12a598c80f609e68550cf043b1c6b2fd0e35e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 6 Aug 2002 18:46:18 +0000 Subject: do not show potentially dangerous parameteres of ECN target (Alexey) --- extensions/libipt_ECN.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'extensions/libipt_ECN.c') diff --git a/extensions/libipt_ECN.c b/extensions/libipt_ECN.c index 99b0f0e0..4b332546 100644 --- a/extensions/libipt_ECN.c +++ b/extensions/libipt_ECN.c @@ -6,7 +6,7 @@ * * libipt_ECN.c borrowed heavily from libipt_DSCP.c * - * $Id: libipt_ECN.c,v 1.8 2002/08/05 19:36:15 laforge Exp $ + * $Id: libipt_ECN.c,v 1.9 2002/08/06 06:50:04 laforge Exp $ */ #include #include @@ -25,14 +25,17 @@ static void help(void) { printf( "ECN target v%s options\n" -" --ecn-tcp-remove Remove all ECN bits from TCP header\n" +" --ecn-tcp-remove Remove all ECN bits from TCP header\n", + IPTABLES_VERSION, IPTABLES_VERSION); +} + +#if 0 "ECN target v%s EXPERIMENTAL options (use with extreme care!)\n" " --ecn-ip-ect Set the IPv4 ECT codepoint (0 to 3)\n" " --ecn-tcp-cwr Set the IPv4 CWR bit (0 or 1)\n" " --ecn-tcp-ece Set the IPv4 ECE bit (0 or 1)\n", - IPTABLES_VERSION, IPTABLES_VERSION -); -} +#endif + static struct option opts[] = { { "ecn-tcp-remove", 0, 0, 'F' }, -- cgit v1.2.3