diff --git a/duckdns/CHANGELOG.md b/duckdns/CHANGELOG.md index 880b0e0..7a0a8a6 100644 --- a/duckdns/CHANGELOG.md +++ b/duckdns/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.12.4 + +- Fix bug where IPv6 got the value of IPv4 + ## 1.12.3 - Dont set IPv4 / IPv6 in duckdns request if config is unset diff --git a/duckdns/config.json b/duckdns/config.json index 9e6a8b4..d06bdf9 100644 --- a/duckdns/config.json +++ b/duckdns/config.json @@ -1,6 +1,6 @@ { "name": "Duck DNS", - "version": "1.12.3", + "version": "1.12.4", "slug": "duckdns", "description": "Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support", "url": "https://github.com/home-assistant/hassio-addons/tree/master/duckdns", diff --git a/duckdns/data/run.sh b/duckdns/data/run.sh index bdb3c18..8825a73 100755 --- a/duckdns/data/run.sh +++ b/duckdns/data/run.sh @@ -8,7 +8,7 @@ LE_UPDATE="0" # DuckDNS if bashio::config.has_value "ipv4"; then IPV4=$(bashio::config 'ipv4'); else IPV4=""; fi -if bashio::config.has_value "ipv6"; then IPV6=$(bashio::config 'ipv4'); else IPV6=""; fi +if bashio::config.has_value "ipv6"; then IPV6=$(bashio::config 'ipv6'); else IPV6=""; fi TOKEN=$(bashio::config 'token') DOMAINS=$(bashio::config 'domains | join(",")') WAIT_TIME=$(bashio::config 'seconds')