propagate sockaddr and port form the receive function to the parser
[project/mdnsd.git] / dns.c
diff --git a/dns.c b/dns.c
index d8c152948b86cf3e42479385f709e9ca9035ad51..df855ebdeb189f86393de41eb0efef65da12765f 100644 (file)
--- a/dns.c
+++ b/dns.c
@@ -347,7 +347,7 @@ parse_question(struct interface *iface, char *name, struct dns_question *q)
 }
 
 void
-dns_handle_packet(struct interface *iface, uint8_t *buffer, int len, int unicast)
+dns_handle_packet(struct interface *iface, struct sockaddr *s, uint16_t port, uint8_t *buffer, int len)
 {
        struct dns_header *h;
        uint8_t *b = buffer;