Chore: cleanup code

This commit is contained in:
kr328 2021-05-25 20:28:57 +08:00
parent 5e238ab5d3
commit c7409d7ac6

View File

@ -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: "",
}
}