From: Paul Donald Date: Mon, 7 Apr 2025 18:16:04 +0000 (+0200) Subject: luci-app-ttyd: enable includeips for interface selection X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9acbd00155245f2a5d00f1e0560c32d226ea69a7;p=openwrt-luci.git luci-app-ttyd: enable includeips for interface selection Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js index 84d7d3fa85..114b33b3c6 100644 --- a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js +++ b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js @@ -27,6 +27,7 @@ return view.extend({ o = s.option(widgets.DeviceSelect, 'interface', _('Interface'), _('Network interface to bind (eg: eth0)')); o.depends('unix_sock', '0'); o.nocreate = true; + o.includeips = true; o = s.option(form.Value, '_unix_sock_path', _('UNIX socket path'), _('UNIX domain socket path (eg: /var/run/ttyd.sock)')); o.depends('unix_sock', '1');