From afca6b385498f023c99b3f5a17f3cd70a274b789 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 22 Jun 2014 10:36:08 +0000 Subject: [PATCH] Disable IPv6 support when running on IPFire 2. --- src/ddns/system.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ddns/system.py b/src/ddns/system.py index af45262..be18d65 100644 --- a/src/ddns/system.py +++ b/src/ddns/system.py @@ -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") -- 2.39.5