Rename mdns_hostname variable to the umdns_host_label
[project/mdnsd.git] / service.c
index ca70274..8e0e493 100644 (file)
--- a/service.c
+++ b/service.c
@@ -72,7 +72,7 @@ service_name(const char *domain)
 {
        static char buffer[256];
 
-       snprintf(buffer, sizeof(buffer), "%s.%s", mdns_hostname, domain);
+       snprintf(buffer, sizeof(buffer), "%s.%s", umdns_host_label, domain);
 
        return buffer;
 }