From 38d81db43cdd72c2521bfb2410bc6f8e1b9170a5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 22 Jun 2014 10:02:55 +0000 Subject: [PATCH] Don't update systems without IPv6 over and over again... --- src/ddns/providers.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ddns/providers.py b/src/ddns/providers.py index 2a51156..e9df89f 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -150,6 +150,11 @@ class DDNSProvider(object): current_address = self.get_address(proto) + # If no addresses for the given protocol exist, we + # are fine... + if current_address is None and not addresses: + continue + if not current_address in addresses: return False -- 2.39.2