diff options
author | guy <guy> | 2000-10-28 08:19:29 +0000 |
---|---|---|
committer | guy <guy> | 2000-10-28 08:19:29 +0000 |
commit | 54b2ab13c29b96c9d587a0fb348ae8a1caccf08f (patch) | |
tree | ff6fe9b59b51def2e36148ac4f4fbc5900a8a77a /scanner.l | |
parent | 8c16ead77826ba9235de16c7a18be576154e75db (diff) | |
download | libpcap-54b2ab13c29b96c9d587a0fb348ae8a1caccf08f.tar.gz |
Patch from Monroe Williams <monroe@pobox.com>, submitted with NetBSD PR
#5228, to correctly check for Appletalk for EtherTalk phase II - they
use 802.3 with LLC SNAP packets, rather than D/I/X Ethernet packets.
His patch made "atalk" check for Appletalk ARP as well as other
Appletalk packets; I've instead added a separate "aarp" packet type,
leaving "atalk" checking only for ETHERTYPE_ATALK, so you can check for
ETHERTYPE_ATALK, ETHERTYPE_AARP, or both.
Diffstat (limited to 'scanner.l')
-rw-r--r-- | scanner.l | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,7 +22,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.67 2000-10-22 04:15:56 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.68 2000-10-28 08:19:30 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -183,6 +183,7 @@ ah return AH; esp return ESP; atalk return ATALK; +aarp return AARP; decnet return DECNET; lat return LAT; sca return SCA; |