* Unify OS information.

Now OS information is only stored into the Host. The lua uses numeric IDs to handle OS.

* Fix network discovery OS

* Show OS detail into the host details page
This commit is contained in:
Emanuele Faranda 2019-08-08 12:09:51 +00:00 committed by GitHub
parent 81a9963e46
commit c829c4c3c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 273 additions and 248 deletions

View file

@ -35,7 +35,6 @@ function mac2record(mac)
-- io.write(mac.fingerprint.."\n")
end
record["column_mac"] = record["column_mac"]..getOperatingSystemIcon(mac.operatingSystem)
local manufacturer = get_manufacturer_mac(mac["mac"])
if(manufacturer == nil) then manufacturer = "" end