fix quotes
[dyn-nsupdate.git] / client-scripts / dyn-ns-client
index 6c030d10bb523ea16ce9a05f5f23a892affac40a..9f8118b64a2ff3700de664a67af8637c3ff3c1bd 100755 (executable)
@@ -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):