diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-07 00:34:27 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-07 00:34:27 +0000 |
commit | 7b8c645f4f03614a1b9633e289f8488eeef9cea6 (patch) | |
tree | 6e81261ae7ad88fb2ebb82ad5f92fc756b087f54 /pkg/tcpip/stack/ndp.go | |
parent | 6c6ade5e5db9106d9743ceee1e6ee852432678fc (diff) | |
parent | 8dfd92284016f7c719b5766506cf3d6ab9c39c0e (diff) |
Merge release-20191213.0-64-g8dfd922 (automated)
Diffstat (limited to 'pkg/tcpip/stack/ndp.go')
-rwxr-xr-x | pkg/tcpip/stack/ndp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/ndp.go b/pkg/tcpip/stack/ndp.go index ba6a57e6f..238bc27dc 100755 --- a/pkg/tcpip/stack/ndp.go +++ b/pkg/tcpip/stack/ndp.go @@ -1030,7 +1030,7 @@ func (ndp *ndpState) handleAutonomousPrefixInformation(pi header.NDPPrefixInform addrBytes := []byte(prefix.ID()) if oIID := ndp.nic.stack.opaqueIIDOpts; oIID.NICNameFromID != nil { - addrBytes = header.AppendOpaqueInterfaceIdentifier(addrBytes[:header.IIDOffsetInIPv6Address], prefix, oIID.NICNameFromID(ndp.nic.ID()), 0 /* dadCounter */, oIID.SecretKey) + addrBytes = header.AppendOpaqueInterfaceIdentifier(addrBytes[:header.IIDOffsetInIPv6Address], prefix, oIID.NICNameFromID(ndp.nic.ID(), ndp.nic.name), 0 /* dadCounter */, oIID.SecretKey) } else { // Only attempt to generate an interface-specific IID if we have a valid // link address. |