luci-app-ttyd: enable includeips for interface selection
authorPaul Donald <[email protected]>
Mon, 7 Apr 2025 18:16:04 +0000 (20:16 +0200)
committerPaul Donald <[email protected]>
Mon, 7 Apr 2025 18:16:19 +0000 (20:16 +0200)
Signed-off-by: Paul Donald <[email protected]>
applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js

index 84d7d3fa8517a8f1b5ad445589b77207e82d2898..114b33b3c6127278301a1de4ed853064d4baa9d0 100644 (file)
@@ -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');