projects
/
dyn-nsupdate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
accept more valid (and invalid) IPv6 addresses
[dyn-nsupdate.git]
/
client-scripts
/
dyn-ns-client
diff --git
a/client-scripts/dyn-ns-client
b/client-scripts/dyn-ns-client
index 6c030d10bb523ea16ce9a05f5f23a892affac40a..9f8118b64a2ff3700de664a67af8637c3ff3c1bd 100755
(executable)
--- 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
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):
return getMyIP("IPv6", config, methods={'local': local}, verbose=verbose)
def getCurIP(domain, family):