diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-07 08:20:33 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-07 08:20:33 +0000 |
| commit | f1792692854c945ee308cba92168092109acc89c (patch) | |
| tree | 40b5f91c10af27c34393dcb8c69dce1379af48db | |
| parent | a5d0cfcb67221ef9365fb0679df8b23c2d2964d6 (diff) | |
| parent | 8deab37e9714de148086643f01b243724da4ccd6 (diff) | |
| download | platform_external_android-clat-f1792692854c945ee308cba92168092109acc89c.tar.gz platform_external_android-clat-f1792692854c945ee308cba92168092109acc89c.tar.bz2 platform_external_android-clat-f1792692854c945ee308cba92168092109acc89c.zip | |
Snap for 4531101 from 8deab37e9714de148086643f01b243724da4ccd6 to pi-release
Change-Id: Ib26b4155ea9adb4148d332c252d403b34c7f7268
| -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); |
