luci-app-ddns: no implicit interface when ip_source=interface
authorGuoxin Pu <[email protected]>
Thu, 5 Jun 2025 10:40:00 +0000 (18:40 +0800)
committerPaul Donald <[email protected]>
Sat, 7 Jun 2025 14:17:02 +0000 (17:17 +0300)
commite6b26d1e07c41dfd520a2e8ef67ec14b6118f288
tree4cb2afd517841909ae5d8d86c8b7e185e443c9b0
parentcf1e61f10d31bedc4cdc9f70872bb8da383f6e62
luci-app-ddns: no implicit interface when ip_source=interface

The DDNS service attribute "interface" is for hotplug.d hook to bring up
and down DDNS updater(s) on ifup and ifdown events for an OpenWrt
"interface", not to be confused with attribute "ip_interface" which defines
the physical interface to get IP from.

With this change, the DDNS configuration service.xxx.interface is no longer
derived from the physical interface name (duplicated from ip_interface to be
specific) when ip_source=interface, and as a result, the interface must be set
explicitly.

Signed-off-by: Guoxin Pu <[email protected]>
applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js