Commit a69c1f7a authored by nanahira's avatar nanahira

fix

parent 64e0c8a8
Pipeline #841 passed with stage
in 4 minutes and 28 seconds
...@@ -126,7 +126,7 @@ func transferGuestTrafficToHost(host *net.UDPConn, hostAddr *net.UDPAddr, guestA ...@@ -126,7 +126,7 @@ func transferGuestTrafficToHost(host *net.UDPConn, hostAddr *net.UDPAddr, guestA
break break
} else { } else {
data := message.data data := message.data
translateHostToGuestPackets(&data, message.length, gtohAddressTranslateList) translateGuestToHostPackets(&data, message.length, gtohAddressTranslateList)
host.WriteToUDP(data, hostAddr) host.WriteToUDP(data, hostAddr)
} }
case <-time.After(time.Duration(2) * time.Minute): case <-time.After(time.Duration(2) * time.Minute):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment