summaryrefslogtreecommitdiffstats
path: root/sys/netpfil
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-03-02 14:39:21 -0300
committerRenato Botelho <renato@netgate.com>2016-03-02 14:39:21 -0300
commit065e672a01ab2d9ebfed1dccb588be99bd5bc73a (patch)
treed9dac06d252aac65ba30921226a2f5f5d63c1bb1 /sys/netpfil
parentb4655eb4fab0c00a03febe9ef8caad97c0026fe5 (diff)
parent73af9669cdc04af0c06344ce6f0d85808187eab3 (diff)
downloadFreeBSD-src-065e672a01ab2d9ebfed1dccb588be99bd5bc73a.zip
FreeBSD-src-065e672a01ab2d9ebfed1dccb588be99bd5bc73a.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/netpfil')
-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 68d83f8..c07546b 100644
--- a/sys/netpfil/ipfw/ip_fw2.c
+++ b/sys/netpfil/ipfw/ip_fw2.c
@@ -1708,7 +1708,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);
OpenPOWER on IntegriCloud