projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use MCAST_PORT define for port 5353
[project/mdnsd.git]
/
dns.c
diff --git
a/dns.c
b/dns.c
index
2e8b0ba
..
b19ad17
100644
(file)
--- 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;