mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-22 10:45:57 +00:00
Avoid host stats de/serialization for broadcast hosts
This commit is contained in:
parent
7a512c7937
commit
cfefeb13ac
2 changed files with 3 additions and 3 deletions
|
|
@ -156,7 +156,7 @@ char* LocalHost::getSerializationKey(char *redis_key, uint bufsize) {
|
|||
void LocalHost::deserialize(json_object *o) {
|
||||
json_object *obj;
|
||||
|
||||
stats->deserialize(o);
|
||||
if(!isBroadcastHost()) stats->deserialize(o);
|
||||
|
||||
if(! mac) {
|
||||
u_int8_t mac_buf[6];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue