diff --git a/src/posix/platform/netif.cpp b/src/posix/platform/netif.cpp index 01ffd6149..d18c73aa5 100644 --- a/src/posix/platform/netif.cpp +++ b/src/posix/platform/netif.cpp @@ -1721,7 +1721,7 @@ static void platformConfigureTunDevice(otPlatformConfig *aPlatformConfig) SetLinkState(gInstance, false); } - VerifyOrDie(ioctl(sTunFd, TUNSETLINK, ARPHRD_VOID) == 0, OT_EXIT_ERROR_ERRNO); + VerifyOrDie(ioctl(sTunFd, TUNSETLINK, ARPHRD_NONE) == 0, OT_EXIT_ERROR_ERRNO); ifr.ifr_mtu = static_cast(kMaxIp6Size); VerifyOrDie(ioctl(sIpFd, SIOCSIFMTU, static_cast(&ifr)) == 0, OT_EXIT_ERROR_ERRNO);