summaryrefslogtreecommitdiff
path: root/lib/libpcap
diff options
context:
space:
mode:
authoris <is@NetBSD.org>2000-05-04 13:08:25 +0000
committeris <is@NetBSD.org>2000-05-04 13:08:25 +0000
commit4d9fa509f7a976dbd124ab79831fa9307fb030cd (patch)
tree799501ee7bcb9f07eb7e693e8273ff6e30794bb2 /lib/libpcap
parent9601a833c3759ae62e4e586657c6731cd5f249b4 (diff)
Change ARCnet link type address format from ':XX' to '$XX'.
Fixes PR 9885 by Jun-ichiro itojun Hagino.
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/scanner.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpcap/scanner.l b/lib/libpcap/scanner.l
index 419080f8949..47ca6a5c291 100644
--- a/lib/libpcap/scanner.l
+++ b/lib/libpcap/scanner.l
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: scanner.l,v 1.10 2000/04/14 14:25:40 itojun Exp $ */
+/* $NetBSD: scanner.l,v 1.11 2000/05/04 13:08:25 is Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -28,7 +28,7 @@
static const char rcsid[] =
"@(#) Header: scanner.l,v 1.56 97/07/21 13:31:50 leres Exp (LBL)";
#else
-__RCSID("$NetBSD: scanner.l,v 1.10 2000/04/14 14:25:40 itojun Exp $");
+__RCSID("$NetBSD: scanner.l,v 1.11 2000/05/04 13:08:25 is Exp $");
#endif
#endif
@@ -235,7 +235,7 @@ outbound return OUTBOUND;
"==" return '=';
"<<" return LSH;
">>" return RSH;
-:{B} { yylval.e = pcap_ether_aton(((char *)yytext)+1);
+${B} { yylval.e = pcap_ether_aton(((char *)yytext)+1);
return AID; }
{N} { yylval.i = stoi((char *)yytext); return NUM; }
({N}\.{N})|({N}\.{N}\.{N})|({N}\.{N}\.{N}\.{N}) {