diff options
author | Luca Deri <deri@ntop.org> | 2015-05-18 16:09:57 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2015-05-18 16:09:57 +0200 |
commit | 079a42c7525f14bb6dd3c39e9308c3f6600cd4f0 (patch) | |
tree | b17342836ec12d9e49c4f687dd7bffbbf6174bb7 /src/lib/protocols/dns.c | |
parent | 66394ba05ef09ad5ea6833088a5b52ec98c424bf (diff) |
Minor code cleanup
Diffstat (limited to 'src/lib/protocols/dns.c')
-rw-r--r-- | src/lib/protocols/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c index 071039340..631514afd 100644 --- a/src/lib/protocols/dns.c +++ b/src/lib/protocols/dns.c @@ -246,7 +246,7 @@ void ndpi_search_dns(struct ndpi_detection_module_struct *ndpi_struct, struct nd j++, i++; } - if(a_record != 0) { + if(a_record[0] != 0) { char a_buf[32]; int i; |