From: Mike Stepanek (mstepane) Date: Wed, 13 Mar 2019 14:20:03 +0000 (-0400) Subject: Merge pull request #1544 in SNORT/snort3 from ~SMINUT/snort3:snort2lua_max_sessions... X-Git-Tag: 3.0.0-251~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e22e5d49880991c187d610bff7daa70eb92497f;p=thirdparty%2Fsnort3.git Merge pull request #1544 in SNORT/snort3 from ~SMINUT/snort3:snort2lua_max_sessions to master Squashed commit of the following: commit e04a522a4798c2700eb137ab9f245b5ae2fb444e Author: Silviu Minut Date: Tue Mar 12 15:48:24 2019 -0400 snort2lua: change the -l short option to --dont-convert-max-sessions. --- diff --git a/tools/snort2lua/helpers/parse_cmd_line.cc b/tools/snort2lua/helpers/parse_cmd_line.cc index 6d1e7681a..bd2a021e3 100644 --- a/tools/snort2lua/helpers/parse_cmd_line.cc +++ b/tools/snort2lua/helpers/parse_cmd_line.cc @@ -356,9 +356,6 @@ static ConfigFunc basic_opts[] = "if file contains any or " "(i.e. 'include path/to/conf/other_conf'), do NOT parse those files" }, - { "l", dont_convert_max_session, "", - "do not convert max_tcp, max_udp, max_icmp, max_ip to max_session" }, - { "m", add_remark, "", "add a remark to the end of every converted rule" }, @@ -392,6 +389,9 @@ static ConfigFunc basic_opts[] = "Same as '-p'. if file contains any or " "(i.e. 'include path/to/conf/other_conf'), do NOT parse those files" }, + { "dont-convert-max-sessions", dont_convert_max_session, "", + "do not convert max_tcp, max_udp, max_icmp, max_ip to max_session" }, + { "error-file", parse_error_file, "", "Same as '-e'. output all errors to " },