From 8be1d9016e057c1f30a906165802d48b52b73938 Mon Sep 17 00:00:00 2001 From: delphij Date: Thu, 30 May 2013 08:02:00 +0000 Subject: MFV: libpcap 1.4.0. MFC after: 4 weeks --- contrib/libpcap/scanner.l | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'contrib/libpcap/scanner.l') diff --git a/contrib/libpcap/scanner.l b/contrib/libpcap/scanner.l index ae726bc..5e2d24e 100644 --- a/contrib/libpcap/scanner.l +++ b/contrib/libpcap/scanner.l @@ -207,20 +207,8 @@ vrrp return VRRP; carp return CARP; radio return RADIO; -ip6 { -#ifdef INET6 - return IPV6; -#else - bpf_error("%s not supported", yytext); -#endif - } -icmp6 { -#ifdef INET6 - return ICMPV6; -#else - bpf_error("%s not supported", yytext); -#endif - } +ip6 return IPV6; +icmp6 return ICMPV6; ah return AH; esp return ESP; -- cgit v1.1