mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-22 13:26:09 +03:00
Chore: cleanup code
This commit is contained in:
parent
5e238ab5d3
commit
c7409d7ac6
@ -33,7 +33,7 @@ func (u *udpPacket) Drop() {
|
|||||||
func (u *udpPacket) LocalAddr() net.Addr {
|
func (u *udpPacket) LocalAddr() net.Addr {
|
||||||
return &net.UDPAddr{
|
return &net.UDPAddr{
|
||||||
IP: u.source.IP,
|
IP: u.source.IP,
|
||||||
Port: int(u.source.Port),
|
Port: u.source.Port,
|
||||||
Zone: "",
|
Zone: "",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user