diff options
| author | 1996-11-12 08:31:56 +0000 | |
|---|---|---|
| committer | 1996-11-12 08:31:56 +0000 | |
| commit | b7cbf26c5d1465347a0f87ae027dece915e5a7aa (patch) | |
| tree | e9ed9953cd7dee7ff2022d4c3b8c0e71607e01f6 /usr.sbin/tcpdump/print-ether.c | |
| parent | Use table to map the BIOS bootdev to our name instead of picking out (diff) | |
| download | wireguard-openbsd-b7cbf26c5d1465347a0f87ae027dece915e5a7aa.tar.xz wireguard-openbsd-b7cbf26c5d1465347a0f87ae027dece915e5a7aa.zip | |
add NetBIOS printing.
Diffstat (limited to 'usr.sbin/tcpdump/print-ether.c')
| -rw-r--r-- | usr.sbin/tcpdump/print-ether.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/print-ether.c b/usr.sbin/tcpdump/print-ether.c index b184993ff30..9c8211e7dce 100644 --- a/usr.sbin/tcpdump/print-ether.c +++ b/usr.sbin/tcpdump/print-ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-ether.c,v 1.4 1996/07/13 11:01:21 mickey Exp $ */ +/* $OpenBSD: print-ether.c,v 1.5 1996/11/12 08:31:57 mickey Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996 @@ -187,6 +187,10 @@ ether_encap_print(u_short ethertype, const u_char *p, int length, int caplen) aarp_print(p, length); return (1); + case ETHERTYPE_8022: + netbios_print(p, length); + return (1); + case ETHERTYPE_LAT: case ETHERTYPE_MOPRC: case ETHERTYPE_MOPDL: |
