summaryrefslogtreecommitdiff
path: root/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'scanner.l')
-rw-r--r--scanner.l16
1 files changed, 2 insertions, 14 deletions
diff --git a/scanner.l b/scanner.l
index 064e9c885fbc2..10ffbcd567ef4 100644
--- a/scanner.l
+++ b/scanner.l
@@ -206,20 +206,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;