diff --git a/dyndomain b/dyndomain index ada442a..96b6c92 100755 --- a/dyndomain +++ b/dyndomain @@ -71,6 +71,8 @@ def get_wan_addr(): wan = dict() wan['ipv4'] = r['data']['IPAddress'] wan['ipv6'] = r['data']['IPv6Address'] + if wan['ipv4'] == '0.0.0.0': + wan['ipv4'] = '' return wan