diff --git a/dialer.go b/dialer.go index c0e1e96..8099520 100644 --- a/dialer.go +++ b/dialer.go @@ -209,7 +209,7 @@ func processSubnet(subnet string, sources []iface) (Subnet, error) { // Hostnames for address are currently not supported. func (d *dialer) DialContext(ctx context.Context, network, address string) (net.Conn, error) { addr, err := netip.ParseAddrPort(address) - if err != nil { //try resolve as hostname + if err != nil { // try resolve as hostname return d.dialContextHostname(ctx, network, address) } return d.dialAddr(ctx, network, address, addr)