From ef70f4e53dd029609efce84d1ba5a5f3a4ae3c09 Mon Sep 17 00:00:00 2001 From: divocat Date: Mon, 20 Oct 2025 21:58:28 +0300 Subject: [PATCH] feat: add output_network_interface --- .../htdocs/luci-static/resources/view/podkop/settings.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js index f837a8b..189df1c 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js @@ -81,6 +81,15 @@ function createSettingsContent(section) { return true; }; + o = section.option( + widgets.DeviceSelect, + 'output_network_interface', + _('Output Network Interface'), + _('Select the network interface to which the traffic will originate'), + ); + o.noaliases = true; + o.multiple = false; + o = section.option( widgets.DeviceSelect, 'source_network_interfaces',