]>
Commit | Line | Data |
---|---|---|
0b5b6a59 SS |
1 | From f77e6bc92825d65e881d5dc7fc443139278c0d5f Mon Sep 17 00:00:00 2001 |
2 | From: Stefan Schantl <stefan.schantl@ipfire.org> | |
3 | Date: Fri, 28 Oct 2016 12:35:20 +0200 | |
4 | Subject: [PATCH 3/3] Schockokeks.org: Fix malformed update URL. | |
5 | ||
6 | * Move Provider Class into correct alphabetical order. | |
7 | ||
8 | Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> | |
9 | Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> | |
10 | Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> | |
11 | --- | |
12 | src/ddns/providers.py | 23 +++++++++++------------ | |
13 | 1 file changed, 11 insertions(+), 12 deletions(-) | |
14 | ||
15 | diff --git a/src/ddns/providers.py b/src/ddns/providers.py | |
16 | index c482dad..2c30d42 100644 | |
17 | --- a/src/ddns/providers.py | |
18 | +++ b/src/ddns/providers.py | |
19 | @@ -1424,6 +1424,17 @@ class DDNSProviderRegfish(DDNSProvider): | |
20 | raise DDNSUpdateError | |
21 | ||
22 | ||
23 | +class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider): | |
24 | + handle = "schokokeks.org" | |
25 | + name = "Schokokeks" | |
26 | + website = "http://www.schokokeks.org/" | |
27 | + protocols = ("ipv4",) | |
28 | + | |
29 | + # Information about the format of the request is to be found | |
30 | + # https://wiki.schokokeks.org/DynDNS | |
31 | + url = "https://dyndns.schokokeks.org/nic/update" | |
32 | + | |
33 | + | |
34 | class DDNSProviderSelfhost(DDNSProtocolDynDNS2, DDNSProvider): | |
35 | handle = "selfhost.de" | |
36 | name = "Selfhost.de" | |
37 | @@ -1687,15 +1698,3 @@ class DDNSProviderZZZZ(DDNSProvider): | |
38 | ||
39 | # If we got here, some other update error happened. | |
40 | raise DDNSUpdateError | |
41 | - | |
42 | -class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider): | |
43 | - handle = "schokokeks.org" | |
44 | - name = "Schokokeks" | |
45 | - website = "http://www.schokokeks.org/" | |
46 | - protocols = ("ipv4",) | |
47 | - | |
48 | - # Information about the format of the request is to be found | |
49 | - # https://wiki.schokokeks.org/DynDNS | |
50 | - | |
51 | - url = "https://dyndns.schokokeks.org/nic/update?myip=<ipaddr>" | |
52 | - | |
53 | -- | |
54 | 2.7.4 | |
55 |