Fixed AF_PACKET support check for old distros. Closes #816
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user