aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-07 23:55:33 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-07 23:55:33 +0000
commitab792f514df7837ff800766bc8948c42e154f38e (patch)
treeade391734e42644fb6bef601f51750166c4e44dc
parentca82d02292fcd82c1a15985685fa0f68a4556bbd (diff)
parent218ff023a0e1762fe4e47613e350e33aafe3b519 (diff)
downloadot-br-posix-ab792f514df7837ff800766bc8948c42e154f38e.tar.gz
Snap for 11419993 from 218ff023a0e1762fe4e47613e350e33aafe3b519 to mainline-permission-releaseaml_per_341614000
Change-Id: I19096d06ce43b0f800cac29de006355315fe6441
-rw-r--r--src/android/otdaemon_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/android/otdaemon_server.cpp b/src/android/otdaemon_server.cpp
index 254cc6fd..54e3d9a7 100644
--- a/src/android/otdaemon_server.cpp
+++ b/src/android/otdaemon_server.cpp
@@ -37,6 +37,7 @@
#include <android/binder_manager.h>
#include <android/binder_process.h>
#include <openthread/border_router.h>
+#include <openthread/icmp6.h>
#include <openthread/ip6.h>
#include <openthread/link.h>
#include <openthread/openthread-system.h>
@@ -121,6 +122,7 @@ void OtDaemonServer::Init(void)
otIp6SetReceiveCallback(GetOtInstance(), OtDaemonServer::ReceiveCallback, this);
otBackboneRouterSetMulticastListenerCallback(GetOtInstance(), OtDaemonServer::HandleBackboneMulticastListenerEvent,
this);
+ otIcmp6SetEchoMode(GetOtInstance(), OT_ICMP6_ECHO_HANDLER_DISABLED);
mTaskRunner.Post(kTelemetryCheckInterval, [this]() { PushTelemetryIfConditionMatch(); });
}