From ce5910c07224d66252ff1921f7c181f65b574449 Mon Sep 17 00:00:00 2001
From: Ralf Jung <post@ralfj.de>
Date: Thu, 8 Jan 2015 08:12:31 +0100
Subject: [PATCH] IPv6 local: report failure

---
 client-scripts/dyn-ns-client | 1 +
 1 file changed, 1 insertion(+)

diff --git a/client-scripts/dyn-ns-client b/client-scripts/dyn-ns-client
index 6c030d1..9f8118b 100755
--- a/client-scripts/dyn-ns-client
+++ b/client-scripts/dyn-ns-client
@@ -76,6 +76,7 @@ def getMyIPv6(config, verbose = False):
                     if verbose:
                         print("Local IPv6 detected to be",ip)
                     return ip
+        raise Exception("Unable to detect correct local IPv6 address")
     return getMyIP("IPv6", config, methods={'local': local}, verbose=verbose)
 
 def getCurIP(domain, family):
-- 
2.39.5