From 0f6b1297a9e05f687bf0c2dc85945b3886db29ab Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 17 Mar 2019 20:34:52 +0100 Subject: [PATCH] af-packet: warn when XDP is not supported --- src/runmode-af-packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runmode-af-packet.c b/src/runmode-af-packet.c index edf66b98a5..9d743aa6dc 100644 --- a/src/runmode-af-packet.c +++ b/src/runmode-af-packet.c @@ -487,7 +487,7 @@ static void *ParseAFPConfig(const char *iface) BypassedFlowManagerRegisterUpdateFunc(EBPFUpdateFlow, NULL); } #else - SCLogError(SC_ERR_UNIMPLEMENTED, "XDP filter set but XDP support is not built-in"); + SCLogWarning(SC_ERR_UNIMPLEMENTED, "XDP filter set but XDP support is not built-in"); #endif #ifdef HAVE_PACKET_XDP const char *xdp_mode;