aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2016-03-02 13:38:21 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2016-03-02 13:38:21 +0000
commit42e2926c94ee96cbab8f45275a59062f05d2c504 (patch)
treefee6f0b494e39f4c7a4ca867cc1da7e2ed4394fd /sys
parent075bf2a2071373a7e2d5b06bb13d69f5d68961d3 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netpfil/ipfw/ip_fw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c
index 764696cf86b7..712c67532f65 100644
--- a/sys/netpfil/ipfw/ip_fw2.c
+++ b/sys/netpfil/ipfw/ip_fw2.c
@@ -1678,7 +1678,7 @@ do { \
break;
/* DSCP bitmask is stored as low_u32 high_u32 */
- if (x > 32)
+ if (x >= 32)
match = *(p + 1) & (1 << (x - 32));
else
match = *p & (1 << x);