X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=dns.c;h=b19ad17719b7e542a29011e1c68017e2fb0bb146;hb=943bedb9dae8ff083e18795a7f82c7071988ea03;hp=2e8b0ba0a3da483e9b7a0f6c04d442b6aa7434b5;hpb=ce7e9e939dbf4e100bfece5a46b3ef17fd99d034;p=project%2Fmdnsd.git diff --git a/dns.c b/dns.c index 2e8b0ba..b19ad17 100644 --- a/dns.c +++ b/dns.c @@ -413,7 +413,7 @@ dns_handle_packet(struct interface *iface, struct sockaddr *s, uint16_t port, ui 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;