basic implementation, rancid graph and nodemonitor missing
This commit is contained in:
@@ -166,11 +166,13 @@ ajax '/ajax/content/search/node' => require_login sub {
|
||||
->search_by_ip({ip => $ip, @active, @times});
|
||||
}
|
||||
else {
|
||||
$likeval .= setting('domain_suffix')
|
||||
if index($node, setting('domain_suffix')) == -1;
|
||||
|
||||
$set = schema('netdisco')->resultset('NodeIp')
|
||||
->search_by_dns({dns => $likeval, @active, @times});
|
||||
->search_by_dns({
|
||||
dns => $likeval,
|
||||
suffix => setting('domain_suffix'),
|
||||
@active,
|
||||
@times,
|
||||
});
|
||||
|
||||
# if the user selects Vendor search opt, then
|
||||
# we'll try the OUI company name as a fallback
|
||||
|
||||
Reference in New Issue
Block a user