mirror of
https://github.com/openwrt/packages.git
synced 2025-12-17 08:01:19 +00:00
DigitalOcean API requires a "type" JSON field to update a DNS record. This adds that while checking for IPv6 to change which record type to use. Without it, the API call fails, making the script unable to update the DNS records for DigitalOcean. Signed-off-by: Adam Beck <subcursion@gmail.com>