1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-05 07:50:24 +08:00

fix(udplite): wrong network

This commit is contained in:
源文雨
2024-07-18 15:17:55 +09:00
parent fc7f1d9744
commit 9d986bb1d7

View File

@@ -15,7 +15,7 @@ func (ep *EndPoint) String() string {
}
func (ep *EndPoint) Network() string {
return (*net.UDPAddr)(ep).Network()
return "udplite"
}
func (ep *EndPoint) Euqal(ep2 p2p.EndPoint) bool {