[avahi] Special chars in avahi-set-hostname

Rajesh Sai T tsairajesh at gmail.com
Mon Jul 4 04:25:31 PDT 2011


Hi,

In my sample code, I was trying to set hostname for avahi using
"avahi_client_set_hostname()" and tried passing name as "@rajesh". But I see
avahi-daemon set its name as "\064rajesh" replacing "@" with its ASCII
value. Is this limitation of avahi?? or do we have any other way to see the
same name reflected with "@" set to my daemon.

And I also tried setting my system IP address as hostname. Ex : "127.0.0.1"
and avahi returns me error saying "Invalid host name". Do we have any such
limitation in avahi to use a given pattern of host names?

Thanks & Regards,
Rajesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20110704/bb344b09/attachment.html>


More information about the avahi mailing list