mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-07 14:28:15 +03:00
Clarify Tun2socks runtime constants
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -690,7 +690,9 @@ class SystemRoutingTable:
|
||||
"""Delete relations."""
|
||||
if PLATFORM == 'Windows':
|
||||
if len(SystemRoutingTable.Relations):
|
||||
SystemRoutingTable.delete('0.0.0.0', APPLICATION_TUN_GATEWAY_ADDRESS)
|
||||
SystemRoutingTable.delete(
|
||||
'0.0.0.0', APPLICATION_TUN2SOCKS_GATEWAY_ADDRESS
|
||||
)
|
||||
|
||||
for sourceIP, destinationIP in SystemRoutingTable.Relations[::-1]:
|
||||
SystemRoutingTable.delete(sourceIP, destinationIP)
|
||||
|
||||
Reference in New Issue
Block a user