summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHungming Chen <nuccachen@google.com>2022-01-11 15:33:08 +0800
committerNucca Chen <nuccachen@google.com>2022-01-12 10:05:00 +0000
commit494a7100d8087700ff3b414e68450b2d9ed1d5ac (patch)
treecbca3a78854994301ae6353f7383bc2c04c1173c
parentf5314f234ccc5c6a9ec38382d2bbbc9af9ecbffb (diff)
downloadnetd-494a7100d8087700ff3b414e68450b2d9ed1d5ac.tar.gz
Make ClatdController to use apex shipped clatd binary
Since the clatd binary is shipped by apex, change the clatd path to apex shipped clatd binary. Bug: 212345928 Test: manual test 1. Connect to ipv6-only wifi. 2. Make IPv4 traffic. $ ping 8.8.8.8 Change-Id: I4fb37dd3353b7e96977205ed0595c03d7c6e3d79
-rw-r--r--server/ClatdController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ClatdController.cpp b/server/ClatdController.cpp
index aee13d75..7062bc72 100644
--- a/server/ClatdController.cpp
+++ b/server/ClatdController.cpp
@@ -62,7 +62,7 @@ extern "C" {
/* 40 bytes IPv6 header - 20 bytes IPv4 header + 8 bytes fragment header */
#define MTU_DELTA 28
-static const char* kClatdPath = "/system/bin/clatd";
+static const char* kClatdPath = "/apex/com.android.tethering/bin/for-system/clatd";
// For historical reasons, start with 192.0.0.4, and after that, use all subsequent addresses in
// 192.0.0.0/29 (RFC 7335).