mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-23 12:00:34 +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 {
|
func (ep *EndPoint) Network() string {
|
||||||
return (*net.UDPAddr)(ep).Network()
|
return "udplite"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ep *EndPoint) Euqal(ep2 p2p.EndPoint) bool {
|
func (ep *EndPoint) Euqal(ep2 p2p.EndPoint) bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user