mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-14 19:45:45 +00:00
Merge 5c4c3d1e1f into 43dcb90632
This commit is contained in:
commit
2f0871ec95
2 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ public partial class CoreConfigSingboxService
|
|||
_coreConfig.inbounds = [];
|
||||
|
||||
if (!context.IsTunEnabled
|
||||
|| (context.IsTunEnabled && _node.Port != listenPort))
|
||||
|| (context.IsTunEnabled && _node.Address != Global.Loopback && _node.Port != listenPort))
|
||||
{
|
||||
var inbound = new Inbound4Sbox()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ public partial class CoreConfigSingboxService
|
|||
_coreConfig.route.rules.Add(new()
|
||||
{
|
||||
port = [53],
|
||||
network = ["udp"],
|
||||
action = "hijack-dns"
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue