diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-05-23 22:21:50 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-05-23 22:21:50 +0200 |
commit | 1b3055faefafe24cc21ede48ebc2ad67a022495e (patch) | |
tree | 6e24906213f64e5c37503c850f8bcb7d22ae34b6 | |
parent | cf905d0c7f531236697a9ca4784570b03375e160 (diff) |
ndpi_main: fix Value stored to 'saddr'/'daddr' is never read
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 221c073fd..db1543807 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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); |