diff options
Diffstat (limited to 'tests/unit/unit.c')
-rw-r--r-- | tests/unit/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unit.c b/tests/unit/unit.c index 3ad95e229..8e797a3b1 100644 --- a/tests/unit/unit.c +++ b/tests/unit/unit.c @@ -282,8 +282,8 @@ int serializeProtoUnitTest(void) } assert(ndpi_init_serializer(&serializer, fmt) != -1); - ndpi_protocol ndpi_proto = { .master_protocol = NDPI_PROTOCOL_TLS, - .app_protocol = NDPI_PROTOCOL_FACEBOOK, + ndpi_protocol ndpi_proto = { .proto.master_protocol = NDPI_PROTOCOL_TLS, + .proto.app_protocol = NDPI_PROTOCOL_FACEBOOK, .protocol_by_ip = NDPI_PROTOCOL_FACEBOOK, .category = NDPI_PROTOCOL_CATEGORY_SOCIAL_NETWORK }; ndpi_risk risks = 0; |