diff options
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r-- | trafgen_lexer.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l index eb438a8..3eda22a 100644 --- a/trafgen_lexer.l +++ b/trafgen_lexer.l @@ -115,7 +115,8 @@ ip6_addr (({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?: /* Ethernet */ "daddr"|"da" { return K_DADDR; } "saddr"|"sa" { return K_SADDR; } -[e]?"type" { return K_ETYPE; } +"etype" { return K_ETYPE; } +"type" { return K_TYPE; } /* VLAN (802.1Q & 802.1ad) */ "tpid" { return K_TPID; } |