summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/sniffer/pcap.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/tcpip/link/sniffer/pcap.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/tcpip/link/sniffer/pcap.go')
0 files changed, 0 insertions, 0 deletions