Use unicast IP address when sending unicast service reply
[project/mdnsd.git] / service.h
index b46b521..67a425a 100644 (file)
--- a/service.h
+++ b/service.h
@@ -17,7 +17,7 @@
 extern const char *sdudp;
 extern void service_init(int announce);
 extern void service_cleanup(void);
-extern void service_reply(struct interface *iface, const char *match, int ttl);
-extern void service_announce_services(struct interface *iface, int ttl);
+extern void service_reply(struct interface *iface, struct sockaddr *to, const char *match, int ttl);
+extern void service_announce_services(struct interface *iface, struct sockaddr *to, int ttl);
 
 #endif