Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpcap Change ARCnet link type address format from ':XX...



details:   https://anonhg.NetBSD.org/src/rev/a6d36f6ba3b8
branches:  trunk
changeset: 485741:a6d36f6ba3b8
user:      is <is%NetBSD.org@localhost>
date:      Thu May 04 13:08:25 2000 +0000

description:
Change ARCnet link type address format from ':XX' to '$XX'.
Fixes PR 9885 by Jun-ichiro itojun Hagino.

diffstat:

 lib/libpcap/scanner.l |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a3bafefb216d -r a6d36f6ba3b8 lib/libpcap/scanner.l
--- a/lib/libpcap/scanner.l     Thu May 04 11:58:22 2000 +0000
+++ b/lib/libpcap/scanner.l     Thu May 04 13:08:25 2000 +0000
@@ -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 @@
 "=="                   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})        {



Home | Main Index | Thread Index | Old Index