]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
af-packet: improve warning message
authorEric Leblond <eric@regit.org>
Sun, 17 Mar 2019 19:58:42 +0000 (20:58 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
src/runmode-af-packet.c

index 0fc4ee6472a270be3628db0dd004d51a53271300..3dbc5fd60b64de8a9b59d0e736bd4744abd22b5a 100644 (file)
@@ -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);
                         }