summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/nic.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-30 22:03:24 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-30 22:03:24 +0000
commite0bd5098f6e39a35b2e93335e450721548e2c0aa (patch)
tree8b171c1b70054e169e2da542995c88f17cd7fdf8 /pkg/tcpip/stack/nic.go
parentfb1c8c76ad115e2c6ca370b0fc392d7f4c601a31 (diff)
parentba05c6845d3d285be8c2d12d9f10a5745f722e58 (diff)
Merge release-20201019.0-112-gba05c6845 (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 17f2e6b46..ff02c7c65 100644
--- a/pkg/tcpip/stack/nic.go
+++ b/pkg/tcpip/stack/nic.go
@@ -895,7 +895,7 @@ func (n *NIC) unregisterPacketEndpoint(netProto tcpip.NetworkProtocolNumber, ep
}
// isValidForOutgoing returns true if the endpoint can be used to send out a
-// packet. It requires the endpoint to not be marked expired (i.e., its address)
+// packet. It requires the endpoint to not be marked expired (i.e., its address
// has been removed) unless the NIC is in spoofing mode, or temporary.
func (n *NIC) isValidForOutgoing(ep AssignableAddressEndpoint) bool {
n.mu.RLock()