summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/nic.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-10-29 14:46:30 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-29 14:48:08 -0700
commita86f988a87e16910f1e6211d7b704e8bd92008f6 (patch)
tree4d7d62f75da3d546aeb93d4f43c234281e29251a /pkg/tcpip/stack/nic.go
parent181fea0b58f2e13a469a34eb0b921b169d292a9d (diff)
Automated rollback of changelist 339675182
PiperOrigin-RevId: 339750876
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 ff02c7c65..17f2e6b46 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()