diff --git a/src/Mac.cpp b/src/Mac.cpp index 8588ec94a81b..719dfc3ba229 100644 --- a/src/Mac.cpp +++ b/src/Mac.cpp @@ -104,7 +104,8 @@ Mac::~Mac() { ndpi_serialize_string_string(&device_json, "mac", mac); ndpi_serialize_string_uint32(&device_json, "first_seen", first_seen); ndpi_serialize_string_uint32(&device_json, "last_seen", last_seen); - + ndpi_serialize_string_uint32(&device_json, "device_type", getDeviceType()); + json_str = ndpi_serializer_get_buffer(&device_json, &json_str_len); if ((json_str != NULL) && (json_str_len > 0)) { snprintf(redis_key, sizeof(redis_key), OFFLINE_LOCAL_HOSTS_MACS_QUEUE_NAME, iface->get_id()); diff --git a/tests/e2e b/tests/e2e index 51aab5b64f21..5ada81163c86 160000 --- a/tests/e2e +++ b/tests/e2e @@ -1 +1 @@ -Subproject commit 51aab5b64f2164f5b0d084f224d7b0e5220b3fa3 +Subproject commit 5ada81163c8604b8fbaa3a0d34d1e3020af05443