break;
case TYPE_PTR:
- if (!strcmp(name, sdudp)) {
+ if (!strcmp(name, C_DNS_SD)) {
dns_reply_a(iface, to, announce_ttl);
service_announce_services(iface, to, announce_ttl);
} else {
return;
}
- if (h->questions && !iface->multicast && port != 5353)
+ if (h->questions && !iface->multicast && port != MCAST_PORT)
/* silently drop unicast questions that dont originate from port 5353 */
return;