From: Ralf Jung Date: Fri, 7 Apr 2017 09:36:01 +0000 (+0200) Subject: prettier printing X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/commitdiff_plain/1a68dfd140219eb54670d5c961d9d684a7c63666?ds=inline prettier printing --- diff --git a/client-scripts/dyn-ns-client b/client-scripts/dyn-ns-client index f482c19..11e4512 100755 --- 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) + if ipv4 is not None and ipv6 is not None: + msg += "," if ipv6 is not None: if curIPv6 == ipv6: msg += " IPv6={} (unchanged)".format(curIPv6)