Apply dialer control on tcp and udp alike.

This commit is contained in:
notsure2 2024-02-17 17:32:13 +02:00
parent d1f89eb509
commit bbeb3e3db4
1 changed files with 0 additions and 4 deletions

View File

@ -160,10 +160,6 @@ func InitState(preParse RawConfig, worldState common.WorldState) (sta *State, er
}
dialerControl := func(network, address string, c syscall.RawConn) error {
if !strings.HasPrefix(network, "tcp") {
return nil
}
ips, err := net.LookupHost(strings.Split(address, ":")[0])
if err != nil {
return err