diff --git a/src/mdns.c b/src/mdns.c index 606561a..16a7c01 100644 --- a/src/mdns.c +++ b/src/mdns.c @@ -767,6 +767,10 @@ mdns_listen_probe_network(const struct mdns_ctx *ctx, const char *const names[], if (!strrcmp(entry->name, names[i])) { callback(p_cookie, r, entries); break; + } else if ((entry->type & RR_A || entry->type & RR_AAAA) && + !strcasecmp (entry->name, names[i])) { + callback(p_cookie, r, entries); + break; } } }