summaryrefslogtreecommitdiff
path: root/scanner.l
diff options
context:
space:
mode:
authorguy <guy>2000-10-28 08:19:29 +0000
committerguy <guy>2000-10-28 08:19:29 +0000
commit54b2ab13c29b96c9d587a0fb348ae8a1caccf08f (patch)
treeff6fe9b59b51def2e36148ac4f4fbc5900a8a77a /scanner.l
parent8c16ead77826ba9235de16c7a18be576154e75db (diff)
downloadlibpcap-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.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/scanner.l b/scanner.l
index 03ea14e4..98841c53 100644
--- a/scanner.l
+++ b/scanner.l
@@ -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;