-- fixed ips classtype segfault on ctor after parse error
-- new_http_inspect now gid 219 and other Tom Tweaks
-- new_http_inspect reactiveated (no longer REG_TEST only)
+-- ip defrag fixes from Josh
126
-- pulled latest from tom
bool Pcre::convert(std::istringstream& data_stream)
{
std::string keyword;
- bool retval = true;
+ //bool retval = true; FIXIT-H-J
bool sticky_buffer_set = false;
char delim = '/';
dlt_opt.append(1, c);
dlt_opt += "'";
rule_api.bad_rule(data_stream, dlt_opt);
- retval = false;
+ //retval = false; FIXIT-H-J
break;
}
}
{
std::string keyword;
std::string val;
- bool tmpval = true;
+ //bool tmpval = true; FIXIT-H-J
std::istringstream subopt_stream(value);
if (!(subopt_stream >> keyword) || !(subopt_stream >> val))
rule_api.bad_rule(data_stream, "threshold: " + keyword + " <missing_value>");
else if (!(keyword.compare("count")))
- tmpval = table_api.add_option("count", std::stoi(val));
+ /*tmpval =*/ table_api.add_option("count", std::stoi(val));
else if (!(keyword.compare("seconds")))
- tmpval = table_api.add_option("seconds", std::stoi(val));
+ /*tmpval =*/ table_api.add_option("seconds", std::stoi(val));
else if (!(keyword.compare("type")))
- tmpval = table_api.add_option("type", val);
+ /*tmpval =*/ table_api.add_option("type", val);
else if (!(keyword.compare("track")))
- tmpval = table_api.add_option("track", val);
+ /*tmpval =*/ table_api.add_option("track", val);
else
rule_api.bad_rule(data_stream, "threshold: " + keyword);