]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/ddns-014-freednsafraid-fix-typo.patch
suricata: Change midstream policy to "pass-flow"
[people/pmueller/ipfire-2.x.git] / src / patches / ddns-014-freednsafraid-fix-typo.patch
1 commit 3a162595b9b44a4cbf08a3db14a4d2ebfeeb5583
2 Author: Stefan Schantl <stefan.schantl@ipfire.org>
3 Date: 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
9 diff --git a/src/ddns/providers.py b/src/ddns/providers.py
10 index 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.