summaryrefslogtreecommitdiff
path: root/trafgen_lexer.l
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-26 10:06:36 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-26 10:06:36 +0100
commit7ffa9cc1715108ab89292aeffc392688af1f74da (patch)
tree6039c895cee760c61615f3dfd85883d303f7bfb1 /trafgen_lexer.l
parent48cdbcaea2a826688ec9fb4df1af2cfb38352f9b (diff)
trafgen: update help description
After commit f9591eebe40c (trafgen: lexer/parser: fix cpu() selection and whitespacing), we also need to fixup the help description, so that users start using the cpu(X-Y) notation instead. Also, reintroduce the alias csum16 for csumip. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r--trafgen_lexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l
index be6917f..2df1881 100644
--- a/trafgen_lexer.l
+++ b/trafgen_lexer.l
@@ -80,6 +80,7 @@ number_ascii ([a-zA-Z])
"cpu" { return K_CPU; }
"fill" { return K_FILL; }
"rnd" { return K_RND; }
+"csum16" { return K_CSUMIP; }
"csumip" { return K_CSUMIP; }
"csumip4" { return K_CSUMIP; }
"csumicmp" { return K_CSUMIP; }