summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/stack.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-14 21:45:53 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-14 21:45:53 +0000
commit9c6da45094856c853e4664e4b19c3456dcf47769 (patch)
tree72c8d571e2f5a01e736b302f856e3285d348907b /pkg/tcpip/stack/stack.go
parent846a3068cd29032a82edc25983c235a1791433cf (diff)
parent50625cee59aaff834c7968771ab385ad0e7b0e1f (diff)
Merge release-20191213.0-115-g50625ce (automated)
Diffstat (limited to 'pkg/tcpip/stack/stack.go')
-rw-r--r--pkg/tcpip/stack/stack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/stack.go b/pkg/tcpip/stack/stack.go
index f8d89248e..386eb6eec 100644
--- a/pkg/tcpip/stack/stack.go
+++ b/pkg/tcpip/stack/stack.go
@@ -912,7 +912,7 @@ func (s *Stack) CheckNIC(id tcpip.NICID) bool {
return false
}
-// NICSubnets returns a map of NICIDs to their associated subnets.
+// NICAddressRanges returns a map of NICIDs to their associated subnets.
func (s *Stack) NICAddressRanges() map[tcpip.NICID][]tcpip.Subnet {
s.mu.RLock()
defer s.mu.RUnlock()