ndpi_main: fix Value stored to 'saddr'/'daddr' is never read

This commit is contained in:
Alexis La Goutte
2016-05-23 22:21:50 +02:00
parent cf905d0c7f
commit 1b3055faef
-2
View File
@@ -3391,8 +3391,6 @@ ndpi_protocol ndpi_detection_process_packet(struct ndpi_detection_module_struct
#endif
{
protocol = flow->packet.iph->protocol;
saddr = ntohl(flow->packet.iph->saddr);
daddr = ntohl(flow->packet.iph->daddr);
}
if(flow->packet.udp) sport = ntohs(flow->packet.udp->source), dport = ntohs(flow->packet.udp->dest);