Project

General

Profile

Bug #454 » 0003-bug-454-rebase-fix.-Also-use-better-error-code-to-in.patch

Anoop Saldanha, 05/21/2012 02:23 PM

View differences:

src/detect-engine-address.c
}
if (DetectAddressIsCompleteIPSpace(ghn)) {
SCLogError(SC_ERR_ADDRESS_ENGINE_GENERIC,
SCLogError(SC_ERR_INVALID_YAML_CONF_ENTRY,
"Address var - \"%s\" has the complete IP space negated "
"with it's value \"%s\". Rule address range is NIL. "
"Probably have a !any or an address range that supplies "
src/detect-engine-port.c
}
if (DetectPortIsCompletePortSpace(ghn)) {
SCLogError(SC_ERR_PORT_ENGINE_GENERIC,
SCLogError(SC_ERR_INVALID_YAML_CONF_ENTRY,
"Port var - \"%s\" has the complete Port range negated "
"with it's value \"%s\". Port space range is NIL. "
"Probably have a !any or a port range that supplies "
src/util-error.c
CASE_CODE (SC_ERR_ADDRESS_ENGINE_GENERIC);
CASE_CODE (SC_ERR_PORT_ENGINE_GENERIC);
CASE_CODE (SC_ERR_FAST_LOG_GENERIC);
CASE_CODE (SC_ERR_ADDRESS_ENGINE_GENERIC);
CASE_CODE (SC_ERR_IPONLY_RADIX);
CASE_CODE (SC_ERR_DEBUG_LOG_GENERIC);
CASE_CODE (SC_ERR_UNIFIED_LOG_GENERIC);
(3-3/3)