1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

SNMPd interface changes

This commit is contained in:
Ycarus 2018-11-09 20:58:24 +01:00
parent fc314e392f
commit 9f802f0d2d

View file

@ -17,7 +17,7 @@ network.cast = "string"
network.nocreate = true
s = m:section(TypedSection, "com2sec", translate("com2sec"))
s.addremove = false
s.addremove = true
secname = s:option(ListValue, "secname", translate("Server"))
secname.optional = false
@ -31,11 +31,10 @@ source.rmempty = false
community = s:option(ListValue, "community", translate("Community"))
community.optional = false
community:value("public","public")
community:value("private","private")
community.rmempty = false
s = m:section(TypedSection, "com2sec6", translate("com2sec6"))
s.addremove = false
s.addremove = true
secname = s:option(ListValue, "secname", translate("secname"))
secname.optional = false
@ -47,10 +46,9 @@ source.datatype = "host"
source.optional = false
source.rmempty = false
community = s:option(ListValue, "community", translate("Community"))
community = s:option(Value, "community", translate("Community"))
community.optional = false
community:value("public","public")
community:value("private","private")
community.rmempty = false
s = m:section(TypedSection, "group", translate("Group"))
s.addremove = true