fix udpdomain v4 issue

This commit is contained in:
Meo597
2026-05-03 10:15:23 +08:00
parent e645ed69aa
commit 81bcfcae77
2 changed files with 37 additions and 13 deletions
+7
View File
@@ -267,6 +267,13 @@ func (h *Handler) DestIpAddress() net.IP {
return internet.DestIpAddress()
}
func (h *Handler) SocketSettings() *internet.SocketConfig {
if h.streamSettings == nil {
return nil
}
return h.streamSettings.SocketSettings
}
// Dial implements internet.Dialer.
func (h *Handler) Dial(ctx context.Context, dest net.Destination) (stat.Connection, error) {
if h.senderSettings != nil {