This allows other mdns software to discover our hostname when they
start.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
case TYPE_PTR:
if (!strcmp(name, sdudp)) {
case TYPE_PTR:
if (!strcmp(name, sdudp)) {
+ dns_reply_a(iface, to, announce_ttl);
service_announce_services(iface, to, announce_ttl);
} else {
/* First dot separates instance name from the rest */
service_announce_services(iface, to, announce_ttl);
} else {
/* First dot separates instance name from the rest */