mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Avoid 'baseoid' output when snmp-hh3c-logins fails.
This commit is contained in:
parent
3287c1159b
commit
95f7b76d9f
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ action = function(host, port)
|
|||
status, users = snmpHelper:walk( newsnmpoid )
|
||||
|
||||
if (not(status)) or ( users == nil ) or ( #users == 0 ) then
|
||||
return users
|
||||
return nil
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue