summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-05-20 20:07:13 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-05-21 23:32:57 +0900
commit82bb897e87ff4bed11f1eb7b0fce4d55c16b94ec (patch)
tree1e989c6decbf31f9c398b58e0dab61f7bc521487 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4afb82b32ef957fd6c9a330e3369f1756d853ddd (diff)
Inform the DNS resolver when it needs to do DNS64 synthesis.
This is only necessary when learning the NAT64 prefix from the RA, because if the NAT64 prefix is learned from DNS, the DNS resolver already knows the prefix and automatically enables DNS64 synthesis. The DNS resolver needs to be informed of the prefix any time clat is running on a prefix learned from an RA. This is simple to implement: just set the prefix when starting clat if prefix discovery is not running, and clear the prefix when stopping clat if prefix discovery was not running. This ensures that the prefix is cleared iff it was set. Bug: 156914456 Test: new unit test coverage Change-Id: If8ad2d30712a6df3e207c8d3e8a129705242191e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions