Skip to content

Commit

Permalink
Merge pull request #12 from zhuobixin/master
Browse files Browse the repository at this point in the history
LocalAddr() should return local address
  • Loading branch information
xiaokangwang authored Jun 10, 2020
2 parents 8988dc3 + dc906cf commit e4ec980
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 e4ec980

Please sign in to comment.