mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Added missing %u in format
This commit is contained in:
parent
9da77c72c4
commit
4357f7a39f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ function asset_management_utils.insert_host(entry)
|
|||
insert_host = string.format(
|
||||
"INSERT INTO %s " ..
|
||||
"(type, key, ip, mac, vlan, network, name, device_type, manufacturer, first_seen, last_seen) " ..
|
||||
"SELECT '%s','%s','%s','%s', %u, %u, %s, %u, %s, %u "..
|
||||
"SELECT '%s','%s','%s','%s', %u, %u, %s, %u, %s, %u, %u "..
|
||||
"WHERE NOT EXISTS ( SELECT 1 FROM %s WHERE key = '%s' )",
|
||||
table_name,
|
||||
entry["type"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue