Refine 4in6 processing

This commit is contained in:
世界
2022-09-25 22:16:24 +08:00
parent 34103a54f7
commit 69d4d96c2a
12 changed files with 44 additions and 60 deletions

View File

@@ -146,7 +146,7 @@ func (d *DefaultDialer) DialContext(ctx context.Context, network string, address
case N.NetworkUDP:
return d.udpDialer.DialContext(ctx, network, address.String())
}
return d.dialer.DialContext(ctx, network, address.Unwrap().String())
return d.dialer.DialContext(ctx, network, address.String())
}
func (d *DefaultDialer) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error) {