diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-05-01 16:32:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-01 16:33:43 -0700 |
commit | 40d6aae1220292985a85ee03248ad5781edb4c80 (patch) | |
tree | 193bffeeb087682987ca34689951273d321a3cb8 /pkg/binary/binary_test.go | |
parent | 5e1e61fbcbe8fa3cc8b104fadb8cdef3ad29c31f (diff) |
Regenerate SLAAC address on conflicts with the NIC
If the NIC already has a generated SLAAC address, regenerate a new SLAAC
address until one is generated that does not conflict with the NIC's
existing addresses, up to a maximum of 10 attempts.
This applies to both stable and temporary SLAAC addresses.
Test: stack_test.TestMixedSLAACAddrConflictRegen
PiperOrigin-RevId: 309495628
Diffstat (limited to 'pkg/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions