mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
beautify
This commit is contained in:
parent
5c112e0ca8
commit
9f27655182
@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func WrapperTcpWithTimeout(network, address string, timeout time.Duration) (net.Conn, error) {
|
||||
d := &net.Dialer{Timeout: timeout/2}
|
||||
d := &net.Dialer{Timeout: timeout}
|
||||
return WrapperTCP(network, address, d)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user