diff --git a/src/posix/platform/netif.cpp b/src/posix/platform/netif.cpp index aa7cd195b..4cab7c1ea 100644 --- a/src/posix/platform/netif.cpp +++ b/src/posix/platform/netif.cpp @@ -52,6 +52,7 @@ #include #include +#include #include #include #include @@ -392,6 +393,8 @@ void platformNetifInit(otInstance *aInstance) sNetlinkFd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); VerifyOrExit(sNetlinkFd > 0); + otIcmp6SetEchoMode(aInstance, OT_ICMP6_ECHO_HANDLER_DISABLED); + { struct sockaddr_nl sa;