mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39: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 )
|
status, users = snmpHelper:walk( newsnmpoid )
|
||||||
|
|
||||||
if (not(status)) or ( users == nil ) or ( #users == 0 ) then
|
if (not(status)) or ( users == nil ) or ( #users == 0 ) then
|
||||||
return users
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user