projects
/
dyn-nsupdate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1006fa
)
prettier printing
author
Ralf Jung
<post@ralfj.de>
Fri, 7 Apr 2017 09:36:01 +0000
(11:36 +0200)
committer
Ralf Jung
<post@ralfj.de>
Fri, 7 Apr 2017 09:36:01 +0000
(11:36 +0200)
client-scripts/dyn-ns-client
patch
|
blob
|
history
diff --git
a/client-scripts/dyn-ns-client
b/client-scripts/dyn-ns-client
index f482c194f6fe17ed5a621f04f956f79785b41364..11e45127d2430a8ab7da2fd6d930bb70b940fa07 100755
(executable)
--- a/
client-scripts/dyn-ns-client
+++ b/
client-scripts/dyn-ns-client
@@
-153,6
+153,8
@@
def updateDomain(server, domain, ipv4, ipv6, password, config, verbose):
msg += " IPv4={} (unchanged)".format(curIPv4)
else:
msg += " IPv4={} -> {}".format(curIPv4, ipv4)
msg += " IPv4={} (unchanged)".format(curIPv4)
else:
msg += " IPv4={} -> {}".format(curIPv4, ipv4)
+ if ipv4 is not None and ipv6 is not None:
+ msg += ","
if ipv6 is not None:
if curIPv6 == ipv6:
msg += " IPv6={} (unchanged)".format(curIPv6)
if ipv6 is not None:
if curIPv6 == ipv6:
msg += " IPv6={} (unchanged)".format(curIPv6)