From 60884f9047882863d27f7e8f5fb760897c599800 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 1 Jul 2015 17:40:14 +0200 Subject: Split former protocol into upper and lower protocol --- src/lib/protocols/gnutella.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/protocols/gnutella.c') diff --git a/src/lib/protocols/gnutella.c b/src/lib/protocols/gnutella.c index 757d39dd6..cfd6ea74b 100644 --- a/src/lib/protocols/gnutella.c +++ b/src/lib/protocols/gnutella.c @@ -33,12 +33,11 @@ static void ndpi_int_gnutella_add_connection(struct ndpi_detection_module_struct struct ndpi_flow_struct *flow/* , */ /* ndpi_protocol_type_t protocol_type */) { - struct ndpi_packet_struct *packet = &flow->packet; struct ndpi_id_struct *src = flow->src; struct ndpi_id_struct *dst = flow->dst; - ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_GNUTELLA); + ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_GNUTELLA, NDPI_PROTOCOL_UNKNOWN); if (src != NULL) { src->gnutella_ts = packet->tick_timestamp; -- cgit v1.2.3