summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/nic.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-07 00:34:27 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-07 00:34:27 +0000
commit7b8c645f4f03614a1b9633e289f8488eeef9cea6 (patch)
tree6e81261ae7ad88fb2ebb82ad5f92fc756b087f54 /pkg/tcpip/stack/nic.go
parent6c6ade5e5db9106d9743ceee1e6ee852432678fc (diff)
parent8dfd92284016f7c719b5766506cf3d6ab9c39c0e (diff)
Merge release-20191213.0-64-g8dfd922 (automated)
Diffstat (limited to 'pkg/tcpip/stack/nic.go')
-rw-r--r--pkg/tcpip/stack/nic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go
index 3bed0af3c..044fe5298 100644
--- a/pkg/tcpip/stack/nic.go
+++ b/pkg/tcpip/stack/nic.go
@@ -180,7 +180,7 @@ func (n *NIC) enable() *tcpip.Error {
var addr tcpip.Address
if oIID := n.stack.opaqueIIDOpts; oIID.NICNameFromID != nil {
- addr = header.LinkLocalAddrWithOpaqueIID(oIID.NICNameFromID(n.ID()), 0, oIID.SecretKey)
+ addr = header.LinkLocalAddrWithOpaqueIID(oIID.NICNameFromID(n.ID(), n.name), 0, oIID.SecretKey)
} else {
l2addr := n.linkEP.LinkAddress()