Skip to content

Commit

Permalink
Minor update of a document
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Nov 21, 2023
1 parent 1cec833 commit 6698525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func DialProxyConnect(proxy string, dst string) (net.Conn, error) {
return conn, nil
}

// GetOriginalDst get the original destination socket option of a TCP connection before dstnat.
// GetOriginalDst get the original destination address of a TCP connection before dstnat.
func GetOriginalDst(conn *net.TCPConn) (*net.TCPAddr, error) {
file, err := conn.File()
defer func(file *os.File) {
Expand Down

0 comments on commit 6698525

Please sign in to comment.