mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Assign ep.effectiveNetProtos in UDP forwarder's CreateEndpoint
This commit is contained in:
@@ -81,6 +81,7 @@ func (r *ForwarderRequest) CreateEndpoint(queue *waiter.Queue) (tcpip.Endpoint,
|
||||
ep.ID = r.id
|
||||
ep.route = r.route.Clone()
|
||||
ep.dstPort = r.id.RemotePort
|
||||
ep.effectiveNetProtos = []tcpip.NetworkProtocolNumber{r.route.NetProto}
|
||||
ep.RegisterNICID = r.route.NICID()
|
||||
ep.boundPortFlags = ep.portFlags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user