]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/ddns-014-freednsafraid-fix-typo.patch
hdparm: Fix build with glibc 2.36
[people/pmueller/ipfire-2.x.git] / src / patches / ddns-014-freednsafraid-fix-typo.patch
CommitLineData
fe6b3e50
SS
1commit 3a162595b9b44a4cbf08a3db14a4d2ebfeeb5583
2Author: Stefan Schantl <stefan.schantl@ipfire.org>
3Date: Sat Oct 23 21:11:27 2021 +0200
4
5 FreeDNSAfraid.org: Fix typo in checking if the IP has been changed.
6
7 Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
8
9diff --git a/src/ddns/providers.py b/src/ddns/providers.py
10index 4f27af9..5b2a82d 100644
11--- a/src/ddns/providers.py
12+++ b/src/ddns/providers.py
13@@ -1204,7 +1204,7 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
14 output = response.read().decode()
15
16 # Handle success messages.
17- if output.startswith("Updated") or output.startswith("No IP changed detected"):
18+ if output.startswith("Updated") or output.startswith("No IP change detected"):
19 return
20
21 # Handle error codes.