mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Avoid 'baseoid' output when snmp-hh3c-logins fails.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user