luci-app-ddns: use proper widget for bind_network option

It appears as if the option is supposed to refer to a logical network,
not a firewall zone. Adjust the widget type accordingly.

Fixes: #6405
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2023-06-07 23:26:46 +02:00
parent fa775eed8a
commit a4a4273ca4

View file

@ -882,7 +882,7 @@ return view.extend({
};
if (env['has_bindnet']) {
o = s.taboption('advanced', widgets.ZoneSelect, 'bind_network',
o = s.taboption('advanced', widgets.NetworkSelect, 'bind_network',
_("Bind Network"),
_('OPTIONAL: Network to use for communication')
+ '<br />' +