add IPV6 support to duckdns protocol

This commit is contained in:
Mitch Brown 2023-01-04 22:27:21 -05:00
parent 3149171aa7
commit ff48a0ccb9

View file

@ -6445,7 +6445,11 @@ sub nic_duckdns_update {
$url .= $h;
$url .= "&token=";
$url .= $config{$h}{'password'};
if (is_ipv6($ip)) {
$url .= "&ipv6=";
} else {
$url .= "&ip=";
}
$url .= $ip;