summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/ndp.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-16 04:35:34 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-16 04:35:34 +0000
commit622dfbf22de0ea5fbd4cbb8718fbaf2e433825da (patch)
tree976631d135a66c144b7a26ea74e36db4eac29516 /pkg/tcpip/stack/ndp.go
parent8051a5e7c093b87ce9ccf650961768711958be03 (diff)
parenta7a1f00425c6a742a0c953ae3cb6de513011d41b (diff)
Merge release-20200115.0-4-ga7a1f00 (automated)
Diffstat (limited to 'pkg/tcpip/stack/ndp.go')
-rwxr-xr-xpkg/tcpip/stack/ndp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/ndp.go b/pkg/tcpip/stack/ndp.go
index acefc356a..c99d387d5 100755
--- a/pkg/tcpip/stack/ndp.go
+++ b/pkg/tcpip/stack/ndp.go
@@ -994,7 +994,7 @@ func (ndp *ndpState) newAutoGenAddress(prefix tcpip.Subnet, pl, vl time.Duration
// If the preferred lifetime is zero, then the address should be considered
// deprecated.
deprecated := pl == 0
- ref, err := ndp.nic.addAddressLocked(protocolAddr, FirstPrimaryEndpoint, permanent, slaac, deprecated)
+ ref, err := ndp.nic.addPermanentAddressLocked(protocolAddr, FirstPrimaryEndpoint, slaac, deprecated)
if err != nil {
log.Fatalf("ndp: error when adding address %s: %s", protocolAddr, err)
}