Skip to content

Commit

Permalink
Revert "[nat64] enable discovering NAT64 AIL prefix for OpenWRT (#9441)"
Browse files Browse the repository at this point in the history
This reverts commit 93e72bc.
  • Loading branch information
ihidchaos committed Sep 25, 2023
1 parent f0530af commit a7f9466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix/platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ target_link_libraries(openthread-posix
)

option(OT_TARGET_OPENWRT "enable openthread posix for OpenWRT" OFF)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT OT_TARGET_OPENWRT)
target_compile_definitions(ot-posix-config
INTERFACE "OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE=1"
)
Expand Down

0 comments on commit a7f9466

Please sign in to comment.