Comment 5 for bug 792309

Revision history for this message
Tim Waugh (twaugh) wrote :

Oops, this came about because the libdns_sd and Avahi APIs differ in which byte order they require the port number. The Avahi API requires it in host order.

Remove the htons() calls from avahi_entry_group_add_service() and avahi_entry_group_add_service_strlst().