Parse empty string as ID_ANY
This commit is contained in:
@@ -921,8 +921,9 @@ identification_t *identification_create_from_string(char *string)
|
||||
}
|
||||
else if (strchr(string, '@') == NULL)
|
||||
{
|
||||
if (streq(string, "%any")
|
||||
|| streq(string, "%any6")
|
||||
if (streq(string, "")
|
||||
|| streq(string, "%any")
|
||||
|| streq(string, "%any6")
|
||||
|| streq(string, "0.0.0.0")
|
||||
|| streq(string, "*")
|
||||
|| streq(string, "::")
|
||||
|
||||
Reference in New Issue
Block a user