diff --git a/core/src/main/golang/tun/udp.go b/core/src/main/golang/tun/udp.go index d7fc4375..98d02972 100644 --- a/core/src/main/golang/tun/udp.go +++ b/core/src/main/golang/tun/udp.go @@ -33,7 +33,7 @@ func (u *udpPacket) Drop() { func (u *udpPacket) LocalAddr() net.Addr { return &net.UDPAddr{ IP: u.source.IP, - Port: int(u.source.Port), + Port: u.source.Port, Zone: "", } }