diff options
-rw-r--r-- | clatd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -503,6 +503,11 @@ int main(int argc, char **argv) { exit(1); } + // When run from netd, the environment variable ANDROID_DNS_MODE is set to + // "local", but that only works for the netd process itself. Removing the + // following line causes XLAT failure in permissive mode. + unsetenv("ANDROID_DNS_MODE"); + configure_interface(uplink_interface, plat_prefix, &tunnel, net_id); update_clat_ipv6_address(&tunnel, uplink_interface); |