Mise à jour de 'ChaChaIPToCountryDaemon/core.py'
This commit is contained in:
@@ -452,7 +452,19 @@ class ChaChaIPToCountryStorage:
|
||||
_ipv6setTz[_country_key][_city_key].update(_set)
|
||||
_ipv6set[_country_key].ForceCompact()
|
||||
_ipv6setTz[_country_key][_city_key].ForceCompact()
|
||||
print("Done")
|
||||
print("Done")
|
||||
|
||||
#Add private network at the end
|
||||
|
||||
|
||||
|
||||
_ipv4setTz["ZZ"] = dict()
|
||||
_ipv4setTz["ZZ"]["HOMELAND"].update(IPRange("0.0.0.0", "255.255.255.255"))
|
||||
_ipv4setTz["ZZ"]["HOMELAND"].ForceCompact()
|
||||
if DEFAULT__EnableIPV6:
|
||||
_ipv6setTz["ZZ"] = dict()
|
||||
_ipv6setTz["ZZ"]["HOMELAND"].update(IPRange("fc00::/7"))
|
||||
_ipv6setTz["ZZ"]["HOMELAND"].ForceCompact()
|
||||
|
||||
print("Updating live IPV4 storage")
|
||||
await self.DataSetlock.acquire()
|
||||
|
||||
Reference in New Issue
Block a user