d1d281c342dfa76773a3d765d0fd61dd06847d18
[people/pmueller/ipfire-2.x.git] / src / patches / ddns-012-noip-fix-handle-name.patch
1 commit c0277eeea2b2c1ed8f40f1248b28438e44e51912
2 Author: Stefan Schantl <stefan.schantl@ipfire.org>
3 Date:   Tue Nov 12 08:43:31 2019 +0100
4
5     NoIP.com: Rename handle back to no-ip.com
6     
7     The old handle name is required for backward compatiblity.
8     
9     Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
10
11 diff --git a/ddns.conf.sample b/ddns.conf.sample
12 index 528684f..61a608a 100644
13 --- a/ddns.conf.sample
14 +++ b/ddns.conf.sample
15 @@ -120,7 +120,7 @@
16  # password = pass
17  
18  # [test.noip.org]
19 -# provider = noip.com
20 +# provider = no-ip.com
21  # username = user
22  # password = pass
23  
24 diff --git a/src/ddns/providers.py b/src/ddns/providers.py
25 index 4789107..661fbcc 100644
26 --- a/src/ddns/providers.py
27 +++ b/src/ddns/providers.py
28 @@ -1344,7 +1344,7 @@ class DDNSProviderNamecheap(DDNSResponseParserXML, DDNSProvider):
29  
30  
31  class DDNSProviderNOIP(DDNSProtocolDynDNS2, DDNSProvider):
32 -       handle    = "noip.com"
33 +       handle    = "no-ip.com"
34         name      = "NoIP"
35         website   = "http://www.noip.com/"
36         protocols = ("ipv4",)