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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user