Files
bpfire/src/patches/ddns-014-freednsafraid-fix-typo.patch
Stefan Schantl fe6b3e502b ddns: Add upstream patch to fix a typo for FreeDNSAfraid.org provider
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reported-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
2021-11-19 07:13:13 +01:00

22 lines
768 B
Diff

commit 3a162595b9b44a4cbf08a3db14a4d2ebfeeb5583
Author: Stefan Schantl <stefan.schantl@ipfire.org>
Date: Sat Oct 23 21:11:27 2021 +0200
FreeDNSAfraid.org: Fix typo in checking if the IP has been changed.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
diff --git a/src/ddns/providers.py b/src/ddns/providers.py
index 4f27af9..5b2a82d 100644
--- a/src/ddns/providers.py
+++ b/src/ddns/providers.py
@@ -1204,7 +1204,7 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
output = response.read().decode()
# Handle success messages.
- if output.startswith("Updated") or output.startswith("No IP changed detected"):
+ if output.startswith("Updated") or output.startswith("No IP change detected"):
return
# Handle error codes.