diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-07 18:23:43 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-07 18:23:43 +0000 |
commit | 33745181e8deb9b61257f132ea3e2bbf64f535a6 (patch) | |
tree | 96361e31d7ab927df55a2c220c4f3a021925e107 /pkg/tcpip/stack/nic.go | |
parent | 810d58067e9125543bb22123a36444443796af5a (diff) | |
parent | 2031cc4701d5bfd21b34d7b0f7dc86920a553385 (diff) |
Merge release-20191213.0-66-g2031cc4 (automated)
Diffstat (limited to 'pkg/tcpip/stack/nic.go')
-rw-r--r-- | pkg/tcpip/stack/nic.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go index 044fe5298..523c2a699 100644 --- a/pkg/tcpip/stack/nic.go +++ b/pkg/tcpip/stack/nic.go @@ -174,7 +174,8 @@ func (n *NIC) enable() *tcpip.Error { return err } - if !n.stack.autoGenIPv6LinkLocal { + // Do not auto-generate an IPv6 link-local address for loopback devices. + if !n.stack.autoGenIPv6LinkLocal || n.loopback { return nil } |