diff options
author | gjb <gjb@FreeBSD.org> | 2016-03-02 16:14:46 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-03-02 16:14:46 +0000 |
commit | 955ce29ea33f5aa2d5477a1fe1a2735ac278cd0d (patch) | |
tree | 9c83d6fb30867514fbcff33f80605a1fb118d720 /sbin/ipfw | |
parent | 4719e40f5bedd0f88591120e071741635f07993b (diff) | |
parent | 774a6245596e60bf04f03e8cccab06a3194504f5 (diff) | |
download | FreeBSD-src-955ce29ea33f5aa2d5477a1fe1a2735ac278cd0d.zip FreeBSD-src-955ce29ea33f5aa2d5477a1fe1a2735ac278cd0d.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 366f77f..f6a9692 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -1029,7 +1029,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; |