]> git.ipfire.org Git - ddns.git/blobdiff - src/ddns/system.py
Disable IPv6 support when running on IPFire 2.
[ddns.git] / src / ddns / system.py
index af452622ebaa9b43b6e95fbbb39e8691115a90bb..be18d650bab6b4aeec6a82e0397c6a600f8b8ef5 100644 (file)
@@ -196,6 +196,10 @@ class DDNSSystem(object):
        def get_address(self, proto):
                assert proto in ("ipv6", "ipv4")
 
+               # IPFire 2 does not support IPv6.
+               if self.distro == "ipfire-2" and proto == "ipv6":
+                       return
+
                # Check if the external IP address should be guessed from
                # a remote server.
                guess_ip = self.core.settings.get("guess_external_ip", "true")