summaryrefslogtreecommitdiff
path: root/sys/dev/pckbc/pckbdreg.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2020-07-21 22:44:56 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2020-07-21 22:44:56 +0000
commit890d0bf4e9f0cf34e51c8ace0dac0e2c9a0ae85b (patch)
tree08ae39c52085bfa3028f09ed29fe3dbca995e36e /sys/dev/pckbc/pckbdreg.h
parentab397fb8768506fb536529d9f517975af6590134 (diff)
DLT_LOOP does have a link header, so tell pcap-filter so it can use it.
matthieu@ reported that asking tcpdump to look at ip or ip6 traffic on a wg(4) interface caused all packets to be captured. this is because pcap assumes that if your link type doesn't have a link header then it is always ip or ip6 (which is weird anyway) and captures everything. there was already code to generate a filter for the DLT_LOOP link header, it was just bypassed cos earlier code said that there wasn't one. debugged with and ok kn@
Diffstat (limited to 'sys/dev/pckbc/pckbdreg.h')
0 files changed, 0 insertions, 0 deletions