diff options
author | Andrea Buscarinu <seven.and@gmail.com> | 2015-05-21 21:31:14 +0200 |
---|---|---|
committer | Andrea Buscarinu <seven.and@gmail.com> | 2015-05-21 21:31:14 +0200 |
commit | 12ac63684b3597ca9ce02ce121f48b273b61d24e (patch) | |
tree | 59531c083bcd97f1eafb31c43d0cbb31a66a3f54 /src/lib/protocols/dns.c | |
parent | 57926cc97da148a593f08191d09e3003427a8712 (diff) | |
parent | de03e1efe4903dbcda84a8a2491cc9e1eeef210b (diff) |
Merge pull request #1 from ntop/dev
Update from original
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; |