I altered the log message printed by mod_dnssd:

[Wed Jul 12 09:03:57 2006] [error] avahi_entry_group_add_service(name="Sam 
Morris on xerces", host="xerces") failed: Invalid host name
[Wed Jul 12 09:03:57 2006] [error] avahi_entry_group_add_service(name="xerces", 
host="xerces") failed: Invalid host name

It appears mod_dnssd specifies 'xerces' as the hostname, which the
avahi_is_valid_fqdn function rejects because it only contains one
component.

Lennart, would it be sensible to have mod_dnssd perform this test
itself, and if it fails, pass NULL to avahi_entry_group_add_service,
causing avahi itself to decide on the hostname to publish?

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to