Service registered must have FQDN as hostname

This commit is contained in:
df 2020-07-26 14:56:29 +01:00
parent de3042f808
commit 3c1f038fbc

View File

@ -328,9 +328,10 @@ main(int argc, char **argv)
}
notrunning = 0;
/* service must have FQDN */
if (0 <= mdnsd_register_service(
ifname, "_http._tcp.local", 80,
hostname, txt))
fullname, txt))
printf("Registered name.\n");
}