From: Stefan Schantl Date: Fri, 28 Oct 2016 10:35:20 +0000 (+0200) Subject: Schockokeks.org: Fix malformed update URL. X-Git-Tag: 011~9 X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=commitdiff_plain;h=f77e6bc92825d65e881d5dc7fc443139278c0d5f Schockokeks.org: Fix malformed update URL. * Move Provider Class into correct alphabetical order. Signed-off-by: Stefan Schantl Reviewed-by: Michael Tremer Signed-off-by: Stefan Schantl --- diff --git a/src/ddns/providers.py b/src/ddns/providers.py index c482dad..2c30d42 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -1424,6 +1424,17 @@ class DDNSProviderRegfish(DDNSProvider): raise DDNSUpdateError +class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider): + handle = "schokokeks.org" + name = "Schokokeks" + website = "http://www.schokokeks.org/" + protocols = ("ipv4",) + + # Information about the format of the request is to be found + # https://wiki.schokokeks.org/DynDNS + url = "https://dyndns.schokokeks.org/nic/update" + + class DDNSProviderSelfhost(DDNSProtocolDynDNS2, DDNSProvider): handle = "selfhost.de" name = "Selfhost.de" @@ -1687,15 +1698,3 @@ class DDNSProviderZZZZ(DDNSProvider): # If we got here, some other update error happened. raise DDNSUpdateError - -class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider): - handle = "schokokeks.org" - name = "Schokokeks" - website = "http://www.schokokeks.org/" - protocols = ("ipv4",) - - # Information about the format of the request is to be found - # https://wiki.schokokeks.org/DynDNS - - url = "https://dyndns.schokokeks.org/nic/update?myip=" -