summaryrefslogtreecommitdiff
path: root/trafgen_lexer.l
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-04-30 17:39:16 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-07-11 09:51:44 +0200
commite6fcf1f0f2c58cf38fad98d1d8b00a3b7ebd3070 (patch)
treee5b98e0092208bd639da6055d765cb5c262c0915 /trafgen_lexer.l
parent7304939f0249945c8d63043a80a94f80f13ecf2e (diff)
trafgen: parser: Replace 'mtype' by 'type'
After splitting etype & type to different tokens it is possible to use 'type' for ICMP type field which is used by RFC. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r--trafgen_lexer.l1
1 files changed, 0 insertions, 1 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l
index 3eda22a..87db504 100644
--- a/trafgen_lexer.l
+++ b/trafgen_lexer.l
@@ -163,7 +163,6 @@ ip6_addr (({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:
"hl"|"hoplimit" { return K_HOP_LIMIT; }
/* ICMPv6 */
-"mtype" { return K_MTYPE; }
"code" { return K_CODE; }
"echorequest" { return K_ECHO_REQUEST; }
"echoreply" { return K_ECHO_REPLY; }