From edf2db4e30d2f7081d290f00734930eb95803692 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 17 Mar 2019 20:58:42 +0100 Subject: [PATCH] af-packet: improve warning message --- src/runmode-af-packet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runmode-af-packet.c b/src/runmode-af-packet.c index 0fc4ee6472..3dbc5fd60b 100644 --- a/src/runmode-af-packet.c +++ b/src/runmode-af-packet.c @@ -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); } -- 2.47.2