summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-17 00:31:25 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-17 00:31:25 +0000
commitf5a3a52f7a4b88553ccb4bfa0d5193da0a47b7cf (patch)
treed5c3ac7f2f5ce21bcc7d80138382d798b7d6b5fa /pkg/tcpip/stack
parent5b7909e2b8dc8be4da07f3f1f16ca65ce3ed1eae (diff)
parentb33c3bb4a73974bbae4274da5100a3cd3f5deef8 (diff)
Merge release-20200323.0-169-gb33c3bb (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rwxr-xr-xpkg/tcpip/stack/ndp.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/ndp.go b/pkg/tcpip/stack/ndp.go
index 7f66c6c09..8140c6dd4 100755
--- a/pkg/tcpip/stack/ndp.go
+++ b/pkg/tcpip/stack/ndp.go
@@ -711,7 +711,8 @@ func (ndp *ndpState) handleRA(ip tcpip.Address, ra header.NDPRouterAdvert) {
continue
}
- ndp.nic.stack.ndpDisp.OnRecursiveDNSServerOption(ndp.nic.ID(), opt.Addresses(), opt.Lifetime())
+ addrs, _ := opt.Addresses()
+ ndp.nic.stack.ndpDisp.OnRecursiveDNSServerOption(ndp.nic.ID(), addrs, opt.Lifetime())
case header.NDPPrefixInformation:
prefix := opt.Subnet()