summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-05-26 10:13:17 +0000
committerLorenzo Colitti <lorenzo@google.com>2020-05-26 11:52:35 +0000
commit7f7171c6a1f48e2fb0c3e5f73977f8eddf10427c (patch)
treeea5216d3bc448aa83d9952ff3b1b87a58323d606 /rs/java/android/renderscript/ProgramStore.java
parentfbf205a380e715be651ca2a2d9f3839061143b24 (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 Original-Change: https://android-review.googlesource.com/1315578 Merged-In: If8ad2d30712a6df3e207c8d3e8a129705242191e Change-Id: If8ad2d30712a6df3e207c8d3e8a129705242191e
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions