summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-lldpd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-lldpd')
-rw-r--r--applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js20
1 files changed, 10 insertions, 10 deletions
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 2eae900f90..a0f3bd1265 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
@@ -568,16 +568,16 @@ return L.view.extend({
var o;
// SNMP agentX socket
- // **Note**: lldpd is compiled in OpenWrt without SNMP support by default. Setting this action will then cause the lldpd daemon to stop starting and thus lldpd will stop working. To fix this, the value must then be deleted and lldpd restarted.
- // o = s.taboption(tab, form.Value, 'agentxsocket',
- // _('SNMP agentX socket path'),
- // _('If the path to the socket is set, then LLDPd will enable an ' +
- // 'SNMP subagent using AgentX protocol. This allows you to get ' +
- // 'information about local system and remote systems through SNMP.'));
-
- // o.rmempty = true;
- // o.placeholder = '/var/run/agentx.sock';
- // o.default = '';
+ /* **Note**: The init file tests for SNMP support, so agentxsocket is at worst inert. */
+ o = s.taboption(tab, form.Value, 'agentxsocket',
+ _('SNMP agentX socket path'),
+ _('When set, LLDPd enables an ' +
+ 'SNMP subagent using AgentX protocol. This enables ' +
+ 'information about other systems through SNMP.'));
+
+ o.rmempty = true;
+ o.placeholder = '/var/run/agentx.sock';
+ o.default = '';
// LLDP-MED class
o = s.taboption(tab, form.ListValue, 'lldp_class',