/* parse the address */
if (IPOnlyCIDRItemParseSingle(gh, s) == -1) {
SCLogError(SC_ERR_ADDRESS_ENGINE_GENERIC,
- "DetectAddressParse error \"%s\"", s);
+ "address parsing error \"%s\"", s);
goto error;
}
*gh = IPOnlyCIDRListParse2(de_ctx, str, 0);
if (*gh == NULL) {
- SCLogDebug("DetectAddressParse2 returned null");
+ SCLogDebug("IPOnlyCIDRListParse2 returned null");
goto error;
}
SigNumArray *dst = NULL;
void *user_data_src = NULL, *user_data_dst = NULL;
+ SCEnter();
+
if (p->src.family == AF_INET) {
(void)SCRadixFindKeyIPV4BestMatch((uint8_t *)&GET_IPV4_SRC_ADDR_U32(p),
io_ctx->tree_ipv4src, &user_data_src);
dst = user_data_dst;
if (src == NULL || dst == NULL)
- return;
+ SCReturn;
uint32_t u;
for (u = 0; u < src->size; u++) {
}
}
}
+ SCReturn;
}
/**