Skip to content

Commit

Permalink
Linux kernels have TUNSETDEBUG enabled now
Browse files Browse the repository at this point in the history
In March 2020 the TUN_DEBUG and tun_debug() macros have been mostly
disabled, unlocking access to the TUNSETDEBUG ioctl flag.
Mark Linux as tuntap_set_debug() ready in regress/CMakeLists.txt.
  • Loading branch information
tleguern committed Dec 21, 2023
1 parent f2ae185 commit 3eff649
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions regress/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ endforeach(SOURCE_FILE)
# "Will fail" tests
# -----------------

# Only NetBSD, FreeBSD and DragonFlyBSD have the debug mode compiled by default
if(NOT NetBSD AND NOT FreeBSD AND NOT DragonFly)
if(Darwin AND Windows)
set_tests_properties(tuntap.test39 PROPERTIES WILL_FAIL true)
set_tests_properties(tuntap.test40 PROPERTIES WILL_FAIL true)
endif()
Expand Down

0 comments on commit 3eff649

Please sign in to comment.