Skip to content

Commit 0fac18b

Browse files
authored
1 parent 3ccd59d commit 0fac18b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxOutboundService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private void FillOutbound(Outbound4Sbox outbound)
227227
: _config.HysteriaItem.UpMbps;
228228
int? downMbps = protocolExtra?.DownMbps is { } sd and >= 0
229229
? sd
230-
: _config.HysteriaItem.UpMbps;
230+
: _config.HysteriaItem.DownMbps;
231231
outbound.up_mbps = upMbps > 0 ? upMbps : null;
232232
outbound.down_mbps = downMbps > 0 ? downMbps : null;
233233
var ports = protocolExtra?.Ports?.IsNullOrEmpty() == false ? protocolExtra.Ports : null;

v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ private void FillBoundStreamSettings(Outbounds4Ray outbound)
576576
: _config.HysteriaItem.UpMbps;
577577
int? downMbps = protocolExtra?.DownMbps is { } sd and >= 0
578578
? sd
579-
: _config.HysteriaItem.UpMbps;
579+
: _config.HysteriaItem.DownMbps;
580580
var hopInterval = !protocolExtra.HopInterval.IsNullOrEmpty()
581581
? protocolExtra.HopInterval
582582
: (_config.HysteriaItem.HopInterval >= 5

0 commit comments

Comments
 (0)