From: Eric Leblond Date: Sun, 17 Mar 2019 19:34:52 +0000 (+0100) Subject: af-packet: warn when XDP is not supported X-Git-Tag: suricata-5.0.0-rc1~337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6b1297a9e05f687bf0c2dc85945b3886db29ab;p=thirdparty%2Fsuricata.git af-packet: warn when XDP is not supported --- 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;