fix: ipv6
All checks were successful
ci / docker (push) Successful in 21s

This commit is contained in:
Tine Jozelj 2023-07-18 16:01:37 +02:00
parent ee199ff35a
commit b8d31865d1
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -56,7 +56,7 @@ configure_record() {
# re-enable glob expansion
set +f
data="{\"type\": \"A\", \"name\": \"$sub\", \"data\": \"$ip\"}"
data="{\"type\": \"$type\", \"name\": \"$sub\", \"data\": \"$ip\"}"
url="$dns_list/$record_id"
if [[ -z $record_id ]]; then