https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207459

smi...@nimnet.asn.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smi...@nimnet.asn.au

--- Comment #2 from smi...@nimnet.asn.au ---
Rats, ae@ beat me to it .. i << 32 is of course 0.

But not just sbin/ipfw .. also in /sys/netpfil/ipfw/ip_fw2.c:

            case O_DSCP:
                {
                uint32_t *p;
                uint16_t x;
[..]
                /* DSCP bitmask is stored as low_u32 high_u32 */
                if (x > 32)
                      match = *(p + 1)  & (1 << (x - 32));
                else
                    match = *p & (1 << x);
                }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to