af-packet: improve warning message

pull/3952/head
Eric Leblond 7 years ago committed by Victor Julien
parent 567b5ee1bc
commit edf2db4e30

@ -545,7 +545,8 @@ static void *ParseAFPConfig(const char *iface)
SCLogConfig("Setting up CPU map XDP");
ConfNode *node = ConfGetChildWithDefault(if_root, if_default, "xdp-cpu-redirect");
if (node == NULL) {
SCLogError(SC_ERR_INVALID_VALUE, "Should not be there");
SCLogError(SC_ERR_INVALID_VALUE,
"Previously found node has disappeared");
} else {
EBPFBuildCPUSet(node, aconf->iface);
}

Loading…
Cancel
Save