summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_ecn.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-08-05 19:35:52 +0000
committerHarald Welte <laforge@gnumonks.org>2002-08-05 19:35:52 +0000
commit0e9ed738e0344ccb75b457dac5291f0849944c61 (patch)
treee91243bf6c486005a8976a410f8c369d6ff08aa9 /extensions/libipt_ecn.c
parentceee3db0157995c2f95bd096f64c2ea0d7ca74cf (diff)
remove bogus ECN_SHIFT from libipt_ecn.c
Diffstat (limited to 'extensions/libipt_ecn.c')
-rw-r--r--extensions/libipt_ecn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_ecn.c b/extensions/libipt_ecn.c
index 92bdbf06..7dcee2c8 100644
--- a/extensions/libipt_ecn.c
+++ b/extensions/libipt_ecn.c
@@ -83,7 +83,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
if (string_to_number(optarg, 0, 3, &result))
exit_error(PARAMETER_PROBLEM,
"ECN match: Value out of range");
- einfo->ip_ect = (result << IPT_ECN_SHIFT);
+ einfo->ip_ect = result;
break;
default:
return 0;