af-packet: warn when XDP is not supported

pull/3952/head
Eric Leblond 6 years ago committed by Victor Julien
parent b1c9b39435
commit 0f6b1297a9

@ -487,7 +487,7 @@ static void *ParseAFPConfig(const char *iface)
BypassedFlowManagerRegisterUpdateFunc(EBPFUpdateFlow, NULL); BypassedFlowManagerRegisterUpdateFunc(EBPFUpdateFlow, NULL);
} }
#else #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 #endif
#ifdef HAVE_PACKET_XDP #ifdef HAVE_PACKET_XDP
const char *xdp_mode; const char *xdp_mode;

Loading…
Cancel
Save