mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added ability to specify (optional parameter) SNMP version
Improved discovery
This commit is contained in:
parent
39a7dcc20e
commit
66841e28a4
3 changed files with 30 additions and 8 deletions
|
|
@ -15,7 +15,9 @@ function string.contains(String,Start)
|
|||
if type(String) ~= 'string' or type(Start) ~= 'string' then
|
||||
return false
|
||||
end
|
||||
return(string.find(String,Start,1) ~= nil)
|
||||
local i,j = string.find(String,Start,1)
|
||||
|
||||
return(i ~= nil)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue