mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-22 23:33:29 +03:00
Prevent nil LocalAddr or RemoteAddr
This commit is contained in:
@@ -143,7 +143,7 @@ func (c *GunConn) LocalAddr() net.Addr {
|
||||
}
|
||||
|
||||
func (c *GunConn) RemoteAddr() net.Addr {
|
||||
return nil
|
||||
return M.Socksaddr{}
|
||||
}
|
||||
|
||||
func (c *GunConn) SetDeadline(t time.Time) error {
|
||||
|
||||
Reference in New Issue
Block a user