Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Dec 23, 2022
1 parent 178000f commit 1b3dcb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/net/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func (d *Dialer) Add(from string, port int, to net.IP) {
d.resolve[fmt.Sprintf("%s:%d", from, port)] = fmt.Sprintf("%s:%d", to, port)
}

// DialContext connects to the addr on the named network using
// the provided context.
// DialContext connects to the addr on the named network using the provided
// context.
func (d *Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error) {
if resolve, ok := d.resolve[addr]; ok {
addr = resolve
Expand Down

0 comments on commit 1b3dcb1

Please sign in to comment.