Fixed AF_PACKET support check for old distros. Closes #816

This commit is contained in:
Pavel Odintsov 2020-05-31 13:50:25 +01:00
parent 90640ee5b8
commit 54642940b1

@ -201,8 +201,7 @@ if (ENABLE_SNABBSWITCH_SUPPORT)
target_link_libraries(snabbswitch_plugin snabb)
endif()
CHECK_CXX_SOURCE_COMPILES("
#include <cstdint>
CHECK_C_SOURCE_COMPILES("
#include <linux/if_packet.h>
int main() {
return TPACKET_V3;