From e6fcf1f0f2c58cf38fad98d1d8b00a3b7ebd3070 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Sat, 30 Apr 2016 17:39:16 +0300 Subject: 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 Signed-off-by: Tobias Klauser --- trafgen_lexer.l | 1 - 1 file changed, 1 deletion(-) (limited to 'trafgen_lexer.l') 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; } -- cgit v1.2.3-54-g00ecf