summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/grammar.y
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-09-04 19:43:23 +0000
committersam <sam@FreeBSD.org>2006-09-04 19:43:23 +0000
commitffd4bfbe7bca827ff32b489ba212a49c38c3f224 (patch)
treedb8dd338004459feebb8546681de0f273dcd020f /contrib/libpcap/grammar.y
parentbf281a32a1c59fe37a685431dd57d7e432a7f3e0 (diff)
downloadFreeBSD-src-ffd4bfbe7bca827ff32b489ba212a49c38c3f224.zip
FreeBSD-src-ffd4bfbe7bca827ff32b489ba212a49c38c3f224.tar.gz
Import of libpcap v0.9.4
Diffstat (limited to 'contrib/libpcap/grammar.y')
-rw-r--r--contrib/libpcap/grammar.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/libpcap/grammar.y b/contrib/libpcap/grammar.y
index 1969186..c2f96f1 100644
--- a/contrib/libpcap/grammar.y
+++ b/contrib/libpcap/grammar.y
@@ -22,7 +22,7 @@
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.86.2.4 2005/06/20 21:30:17 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.86.2.5 2005/09/05 09:08:06 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -131,6 +131,7 @@ pcap_parse()
%token LEN
%token IPV6 ICMPV6 AH ESP
%token VLAN MPLS
+%token PPPOED PPPOES
%token ISO ESIS CLNP ISIS L1 L2 IIH LSP SNP CSNP PSNP
%token STP
%token IPX
@@ -333,6 +334,8 @@ other: pqual TK_BROADCAST { $$ = gen_broadcast($1); }
| VLAN { $$ = gen_vlan(-1); }
| MPLS pnum { $$ = gen_mpls($2); }
| MPLS { $$ = gen_mpls(-1); }
+ | PPPOED { $$ = gen_pppoed(); }
+ | PPPOES { $$ = gen_pppoes(); }
| pfvar { $$ = $1; }
;
OpenPOWER on IntegriCloud