summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;