Updating the weird names to use all lower case

This commit is contained in:
Fatema BW 2022-08-02 10:01:31 -07:00 committed by GitHub
parent 5ffeb657a5
commit 1348b739ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1817,7 +1817,7 @@ int TCPSessionAdapter::ParseTCPOptions(const struct tcphdr* tcp, bool is_orig)
else
{
add_option_data(option_record, o, length);
Weird("tcp_option_QSResponse_invalid_len", util::fmt("%d", length));
Weird("tcp_option_qsresponse_invalid_len", util::fmt("%d", length));
}
break;
@ -1826,7 +1826,7 @@ int TCPSessionAdapter::ParseTCPOptions(const struct tcphdr* tcp, bool is_orig)
if ( length != 4 )
{
add_option_data(option_record, o, length);
Weird("tcp_option_UTO_invalid_len", util::fmt("%d", length));
Weird("tcp_option_uto_invalid_len", util::fmt("%d", length));
}
break;
@ -1835,7 +1835,7 @@ int TCPSessionAdapter::ParseTCPOptions(const struct tcphdr* tcp, bool is_orig)
if ( length < 4 )
{
add_option_data(option_record, o, length);
Weird("tcp_option_AO_invalid_len", util::fmt("%d", length));
Weird("tcp_option_ao_invalid_len", util::fmt("%d", length));
}
break;
@ -1844,7 +1844,7 @@ int TCPSessionAdapter::ParseTCPOptions(const struct tcphdr* tcp, bool is_orig)
if ( (length != 2) && (length < 6 || length > 18) )
{
add_option_data(option_record, o, length);
Weird("tcp_option_TFO_invalid_len", util::fmt("%d", length));
Weird("tcp_option_tfo_invalid_len", util::fmt("%d", length));
}
break;
default: