CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2018/04/02 19:57:31

Modified files:
        usr.sbin/tcpdump: print-ether.c 

Log message:
tweak vlan printing to properly decode the priority field.

the vlan specs have the priority of 0 and 1 swapped on the wire,
which is how the kernel handles them. eg, if you use pf to set prio
1, it will end up being 0 on the wire. this makes 0 on the wire
come out as 1 in tcpdump so it is consistent with the rest of the
tooling.

ok henning@

Reply via email to