Skip to content

Commit

Permalink
TXT record for source host should say 'source=host', not 'host'
Browse files Browse the repository at this point in the history
  • Loading branch information
ka9q committed Jul 26, 2024
1 parent 9cf48cf commit 95a99b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avahi.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int avahi_start(char const *service_name,char const *service_type,int const serv
fprintf(stdout,"%s %s %s %s %s %s %s %s %s %s\n",
"avahi-publish-service", "avahi-publish-service", "--no-fail", host_string, service_name, service_type, port_string, description, pid_string, hostname);
#endif
execlp("avahi-publish-service", "avahi-publish-service", "--no-fail", host_string, service_name, service_type, port_string, description, pid_string, hostname, NULL);
execlp("avahi-publish-service", "avahi-publish-service", "--no-fail", host_string, service_name, service_type, port_string, description, pid_string, source_string, NULL);
perror("exec avahi publish service");
return -1;
}
Expand Down

0 comments on commit 95a99b4

Please sign in to comment.