Commit f7c89642 authored by Alexander Blair's avatar Alexander Blair
Browse files

Fixing deletion of records.

parent ce32a12e
......@@ -43,7 +43,7 @@ class CloudFlareDNS:
for k, v in self.get_current_entries(subdomain).items():
if k not in entries['current'].keys():
print("Removing DNS entry: {} for IP {}".format(k, v)), k)
for new_ip in entries['new']:
print("Adding DNS entry for IP {}".format(new_ip)),
......@@ -55,6 +55,7 @@ def test_p2p_connectivity(ip, port):
s = socket.socket()
return_state = False
s.connect((ip, int(port)))
return_state = True
except Exception as e:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment