summaryrefslogtreecommitdiffstats
path: root/sbin
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 /sbin
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 'sbin')
-rw-r--r--sbin/ipfw/ipfw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 11ccb9f..6d7d3d7 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -790,7 +790,7 @@ fill_dscp(ipfw_insn *cmd, char *av, int cblen)
errx(EX_DATAERR, "Invalid DSCP value");
}
- if (code > 32)
+ if (code >= 32)
*high |= 1 << (code - 32);
else
*low |= 1 << code;
OpenPOWER on IntegriCloud