Skip to content

Commit

Permalink
LocalAddr() should return local address
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuobixin authored Jun 5, 2020
1 parent b610fc0 commit dc906cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/proxyman/inbound/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (c *udpConn) RemoteAddr() net.Addr {
}

func (c *udpConn) LocalAddr() net.Addr {
return c.remote
return c.local
}

func (*udpConn) SetDeadline(time.Time) error {
Expand Down

0 comments on commit dc906cf

Please sign in to comment.