Update IpInventory.pm

Remove superfluous oui.abbrev from IpInventory NodeIP vendor
This commit is contained in:
Christian Ramseyer
2020-04-21 14:28:02 +02:00
committed by GitHub
parent 356a4a77f9
commit ec90e67ce5

View File

@@ -91,7 +91,7 @@ get '/ajax/content/report/ipinventory' => require_login sub {
columns => [qw( ip mac time_first time_last dns active)],
'+select' => [ \'true AS node',
\qq/replace( date_trunc( 'minute', age( now(), time_last ) ) ::text, 'mon', 'month') AS age/,
\'oui.company || oui.abbrev'
'oui.company'
],
'+as' => [ 'node', 'age', 'vendor' ],
}