summaryrefslogtreecommitdiff
path: root/src/android/net/util/NetworkStackUtils.java
diff options
context:
space:
mode:
authorXiao Ma <xiaom@google.com>2020-05-28 09:28:24 +0000
committerXiao Ma <xiaom@google.com>2020-06-01 08:45:20 +0000
commit8c5829b2640ba275a3bf93b580a683ccf9009720 (patch)
tree8d283411a4dec61f00c846660dfd0e8a3e37eb68 /src/android/net/util/NetworkStackUtils.java
parent1e2e741071140b5f911db91b2008bda8dbdb732e (diff)
Refactor out the IPv4-only provisioning result verification.
So far the provisioning verification is included inside handleDhcpPacket and follows DHCP handshake, which works for IPv4-only provisioning, but when IPv6 stack is also enabled in some tests, then IPv6 link-local address will be configured automatically when interface is up. Refactor out the IPv4 provisioning function, then it's flexible to verify something else we are interested in (e.g. IPv6 link-local, privacy addresses). Bug: 131781810 Test: atest NetworkStackIntegrationTests NetworkStackNextIntegrationTests Merged-In: I7f5aba2d19de9bdbd0962bc3268d51c19112d9d2 Change-Id: I7f5aba2d19de9bdbd0962bc3268d51c19112d9d2
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions