diff --git a/gold/p2p/udplite/udp.go b/gold/p2p/udplite/udp.go index a08de7a..1da509a 100644 --- a/gold/p2p/udplite/udp.go +++ b/gold/p2p/udplite/udp.go @@ -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 {