mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 09:56:47 +04:00
Fix the netcup DDNS updater when comparing an existing IPv6 record to the current address. The previous logic relied on REGISTERED_IP and required it to be set, but that value is not always available or reliable for IPv6 records. As a result, the updater could wrongly skip or fail to update AAAA entries. This change: - Removes the hard dependency on REGISTERED_IP - Compares record type and hostname before evaluating the IP - Normalizes IPv6 addresses before comparison - Exits early when no update is required Fixes #30387 Signed-off-by: Martin Brodbeck <martin@brodbeck-online.de>