mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-02 11:57:55 +03:00
Remove direct rules check for custom routing in "Furious/Core/CoreManager.py"
Signed-off-by: LorenEteval <loren.eteval@proton.me>
This commit is contained in:
committed by
Loren Eteval
parent
d36645de49
commit
923f5fcb4f
@@ -293,14 +293,17 @@ class CoreManager(Mixins.CleanupOnExit):
|
||||
elif customRoutingObjectFromSettings(routing) is not None:
|
||||
routingObject = customRoutingObjectFromSettings(routing)
|
||||
|
||||
if (
|
||||
routingObjectHasDirectRule(routingObject)
|
||||
and not proxyModeOnly
|
||||
and SystemRuntime.isTUNMode()
|
||||
):
|
||||
showMBoxDirectRulesNotAllowed()
|
||||
|
||||
return None, False
|
||||
#
|
||||
# TODO: Warning: no check for custom routing
|
||||
#
|
||||
# if (
|
||||
# routingObjectHasDirectRule(routingObject)
|
||||
# and not proxyModeOnly
|
||||
# and SystemRuntime.isTUNMode()
|
||||
# ):
|
||||
# showMBoxDirectRulesNotAllowed()
|
||||
#
|
||||
# return None, False
|
||||
elif routing == AppBuiltinRouting.Custom.value:
|
||||
routingObject = config.get('routing', {})
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user