summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/encode.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-05-01 16:32:15 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-01 16:33:43 -0700
commit40d6aae1220292985a85ee03248ad5781edb4c80 (patch)
tree193bffeeb087682987ca34689951273d321a3cb8 /pkg/state/encode.go
parent5e1e61fbcbe8fa3cc8b104fadb8cdef3ad29c31f (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/state/encode.go')
0 files changed, 0 insertions, 0 deletions