Add TTL set to 1 (auto)
This commit is contained in:
parent
6e92fc0d09
commit
060257fe12
@ -286,8 +286,8 @@ if __name__ == '__main__':
|
||||
print(
|
||||
"⚙️ No config detected for 'ttl' - defaulting to 300 seconds (5 minutes)")
|
||||
if ttl < 30:
|
||||
ttl = 30 #
|
||||
print("⚙️ TTL is too low - defaulting to 30 seconds")
|
||||
ttl = 1 #
|
||||
print("⚙️ TTL is too low - defaulting to 1 (auto)")
|
||||
if (len(sys.argv) > 1):
|
||||
if (sys.argv[1] == "--repeat"):
|
||||
if ipv4_enabled and ipv6_enabled:
|
||||
@ -310,4 +310,4 @@ if __name__ == '__main__':
|
||||
print("❓ Unrecognized parameter '" +
|
||||
sys.argv[1] + "'. Stopping now.")
|
||||
else:
|
||||
updateIPs(getIPs())
|
||||
updateIPs(getIPs())
|
||||
|
||||
Reference in New Issue
Block a user