Mise à jour de 'ChaChaIPToCountryDaemon/core.py'
fix ipv6 toogle flag
This commit is contained in:
@@ -394,7 +394,8 @@ class ChaChaIPToCountryStorage:
|
||||
tasksIPV4.append( loop.run_in_executor(_executor,processIPRangeList,IPRange("192.168.0.0", "192.168.255.255"), "ZZ"))
|
||||
tasksIPV4.append( loop.run_in_executor(_executor,processIPRangeList,IPRange("10.0.0.0", "10.255.255.255"), "ZZ"))
|
||||
tasksIPV4.append( loop.run_in_executor(_executor,processIPRangeList,IPRange("172.16.0.0", "172.31.255.255"), "ZZ"))
|
||||
tasksIPV6.append( loop.run_in_executor(_executor,processIPRangeList,IPRange("fc00::/7"), "ZZ"))
|
||||
if DEFAULT__EnableIPV6:
|
||||
tasksIPV6.append( loop.run_in_executor(_executor,processIPRangeList,IPRange("fc00::/7"), "ZZ"))
|
||||
|
||||
print("Wait IPV4 parsing to complete (files)...")
|
||||
results = await asyncio.gather(*tasksIPV4)
|
||||
|
||||
Reference in New Issue
Block a user