mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-16 14:30:28 +00:00
Compare commits
1
Commits
main
...
sendthrough
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23ceba4716 |
@@ -347,7 +347,6 @@ func (h *Handler) SetOutboundGateway(ctx context.Context, ob *session.Outbound)
|
||||
// case addr.Family().IsDomain():
|
||||
default:
|
||||
ob.Gateway = addr
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -138,6 +138,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer inte
|
||||
}
|
||||
ob.Name = "wireguard"
|
||||
ob.CanSpliceCopy = 3
|
||||
dialer.SetOutboundGateway(ctx, ob)
|
||||
|
||||
if err := h.init(ctx); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user