mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 21:28:51 +00:00
sniff_override_destination = RouteOnly ? false
This commit is contained in:
parent
4020213729
commit
07c07ec60a
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
using v2rayN.Base;
|
using System.ComponentModel;
|
||||||
|
using v2rayN.Base;
|
||||||
using v2rayN.Mode;
|
using v2rayN.Mode;
|
||||||
using v2rayN.Resx;
|
using v2rayN.Resx;
|
||||||
|
|
||||||
|
@ -130,7 +131,7 @@ namespace v2rayN.Handler
|
||||||
var inbound = singboxConfig.inbounds[0];
|
var inbound = singboxConfig.inbounds[0];
|
||||||
inbound.listen_port = LazyConfig.Instance.GetLocalPort(Global.InboundSocks);
|
inbound.listen_port = LazyConfig.Instance.GetLocalPort(Global.InboundSocks);
|
||||||
inbound.sniff = _config.inbound[0].sniffingEnabled;
|
inbound.sniff = _config.inbound[0].sniffingEnabled;
|
||||||
inbound.sniff_override_destination = _config.inbound[0].sniffingEnabled;
|
inbound.sniff_override_destination = _config.inbound[0].routeOnly ? false : _config.inbound[0].sniffingEnabled;
|
||||||
|
|
||||||
//http
|
//http
|
||||||
var inbound2 = Utils.DeepCopy(inbound);
|
var inbound2 = Utils.DeepCopy(inbound);
|
||||||
|
|
Loading…
Reference in a new issue