From 6003fd9ec07e24de9c422b6d04c213183cf1a8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Sat, 21 Oct 2023 14:49:45 +0200 Subject: [PATCH] luci-app-lldpd: Add location parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Küthe --- .../htdocs/luci-static/resources/view/lldpd/config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js b/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js index f09b21b7f95e..a4761f969e37 100644 --- a/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js +++ b/applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js @@ -101,6 +101,13 @@ return L.view.extend({ o.placeholder = 'System hostname'; + // Host location + o = s.taboption(tab, form.Value, 'lldp_location', + _('Host location'), + _('Override the location of the host announced by lldp.')); + + o.placeholder = 'address country EU'; + // Platform o = s.taboption(tab, form.Value, 'lldp_platform', _('System platform description'),