diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-09-12 09:35:51 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-09-12 09:35:51 +0000 |
commit | bc5b690c37af1b5be2e0be9893cc0869c8668c19 (patch) | |
tree | d6b2d48283a659596d25aafe670b9a83764d2d55 /sys/net/if_gif.c | |
parent | 02a688e0818c2d4a0b5a42469d08f98ea877c205 (diff) |
Return the most common data link type instead of the first match for an
interface. Where the most common DLT is the one with the smallest id.
This fixes tcpdump for atw(4) that attaches multiple bpf hooks.
Tested: millert@, Sigfred Haversen, otto@, mcbride@, sturm@, krw@,
Steve Shockley
OK millert@ deraadt@
Diffstat (limited to 'sys/net/if_gif.c')
0 files changed, 0 insertions, 0 deletions