CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2022/03/27 20:58:06

Modified files:
        lib/libpcap    : gencode.c 

Log message:
tweak the pflog ifname filter to include the terminating nul.

without this the code effectively just compares the start of the
string, which means you can get a prefix match unexpectedly. including
the nul in the comparison means it only works for whole interface
names, as it was originally intended.

reported by Aner Perez on misc@
ok deraadt@ (who also dug through the history behind this)

Reply via email to