net-mgmt/net-snmp switch to StrictTextField (#5715)

This commit is contained in:
Michael
2026-09-15 14:26:50 +02:00
committed by GitHub
parent 78af74cfb1
commit 2392c95f85
3 changed files with 9 additions and 6 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PLUGIN_NAME= net-snmp
PLUGIN_VERSION= 1.6
PLUGIN_REVISION= 1
PLUGIN_VERSION= 1.7
PLUGIN_COMMENT= Net-SNMP is a daemon for the SNMP protocol
PLUGIN_DEPENDS= net-snmp
PLUGIN_MAINTAINER= [email protected]
+4
View File
@@ -11,6 +11,10 @@ WWW: http://www.net-snmp.org
Plugin Changelog
----------------
1.7
* Hardening input fields to avoid multiline templating (reported by Ravindu Lakmina Munaweera)
1.6
* Add support for Observium (contributed by Patrick M. Hausen)
@@ -1,15 +1,15 @@
<model>
<mount>//OPNsense/netsnmp/general</mount>
<description>Netsnmp configuration</description>
<version>1.0.5</version>
<version>1.0.6</version>
<items>
<enabled type="BooleanField">
<Default>0</Default>
<Required>Y</Required>
</enabled>
<community type="TextField"/>
<syslocation type="TextField"/>
<syscontact type="TextField"/>
<community type="StrictTextField"/>
<syslocation type="StrictTextField"/>
<syscontact type="StrictTextField"/>
<l3visibility type="BooleanField">
<Default>0</Default>
<Required>Y</Required>