summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/stack.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-10-04 02:33:47 +0000
committergVisor bot <gvisor-bot@google.com>2019-10-04 02:33:47 +0000
commitac6b86fb96d1b497df61552a701d8ffdd704aa05 (patch)
tree9f534d9f09bcd4f6bae162a95481089a262ec195 /pkg/tcpip/stack/stack.go
parent2302defe592326ae081a9c54b90f5bcbd012672b (diff)
parent48745251611b5c152b1a2b66a0f2f30dd4dc1ed9 (diff)
Merge release-20190806.1-236-g4874525 (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 90c2cf1be..ff574a055 100644
--- a/pkg/tcpip/stack/stack.go
+++ b/pkg/tcpip/stack/stack.go
@@ -902,7 +902,7 @@ func (s *Stack) FindRoute(id tcpip.NICID, localAddr, remoteAddr tcpip.Address, n
}
} else {
for _, route := range s.routeTable {
- if (id != 0 && id != route.NIC) || (len(remoteAddr) != 0 && !isBroadcast && !route.Destination.Contains(remoteAddr)) {
+ if (id != 0 && id != route.NIC) || (len(remoteAddr) != 0 && !route.Destination.Contains(remoteAddr)) {
continue
}
if nic, ok := s.nics[route.NIC]; ok {