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:
parent
fa775eed8a
commit
a4a4273ca4
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ return view.extend({
|
||||||
};
|
};
|
||||||
|
|
||||||
if (env['has_bindnet']) {
|
if (env['has_bindnet']) {
|
||||||
o = s.taboption('advanced', widgets.ZoneSelect, 'bind_network',
|
o = s.taboption('advanced', widgets.NetworkSelect, 'bind_network',
|
||||||
_("Bind Network"),
|
_("Bind Network"),
|
||||||
_('OPTIONAL: Network to use for communication')
|
_('OPTIONAL: Network to use for communication')
|
||||||
+ '<br />' +
|
+ '<br />' +
|
||||||
|
|
Loading…
Reference in a new issue