diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-09 00:48:09 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-09 00:48:09 +0000 |
commit | 6e6151b87b4ebfae504cddff4a88188ca87ae15b (patch) | |
tree | 2548bf5deb193b266315b6d62ef224d097ef4a60 /pkg/tcpip/transport | |
parent | ab32c85544000a00e9cf25a9677089909d896d86 (diff) | |
parent | b404b5c255214a37d7f787f9fe24bb8e22509eb4 (diff) |
Merge release-20200804.0-54-gb404b5c25 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r-- | pkg/tcpip/transport/udp/endpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go index b7d735889..444b5b01c 100644 --- a/pkg/tcpip/transport/udp/endpoint.go +++ b/pkg/tcpip/transport/udp/endpoint.go @@ -499,7 +499,7 @@ func (e *endpoint) write(p tcpip.Payloader, opts tcpip.WriteOptions) (int64, <-c resolve = route.Resolve } - if !e.broadcast && route.IsBroadcast() { + if !e.broadcast && route.IsOutboundBroadcast() { return 0, nil, tcpip.ErrBroadcastDisabled } |