X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=blobdiff_plain;f=src%2Fddns%2Fproviders.py;h=6ac556444553fbf0d6e8b23854fe228ad6c81fc5;hp=e708fd648139b552a0ecc93aa8c18d771ae06ef7;hb=47ea9f414f25cb6e72d1958a2d09ed09e3c6b4e8;hpb=d1cb1b54e167ef1d238c704f162ed9afaa8f9c14 diff --git a/src/ddns/providers.py b/src/ddns/providers.py index e708fd6..6ac5564 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -1173,8 +1173,11 @@ class DDNSProviderNamecheap(DDNSResponseParserXML, DDNSProvider): # Namecheap requires the hostname splitted into a host and domain part. host, domain = self.hostname.split(".", 1) + # Get and store curent IP address. + address = self.get_address(proto) + data = { - "ip" : self.get_address(proto), + "ip" : address, "password" : self.password, "host" : host, "domain" : domain