summaryrefslogtreecommitdiffstats
path: root/avahi-core/domain-util.c
Commit message (Collapse)AuthorAgeFilesLines
* re #94: don't accept "localhost" as hostname; read distribution id from ↵Lennart Poettering2007-02-021-5/+60
| | | | | | | | | | | | | | | | | | /etc/lsb_release. This is not a complete fix for this issue, since it doesn't work in a chroot, and it doesn't support /usr/bin/lsb_release. Oh, and did I mention how much the idea of having /usr/bin/lsb_release sucks? On Debian that is a Python script. i.e. on every Avahi startup we'd have to load an entire python interpreter into memory! That takes ages! I am not quite sure if we really should pursue this bug any further because of this problem. First, Debian should replace lsb_release by a saner implementation. In effect, I will now mark this bug as WONTFIX. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1379 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* strip characters that are not in the set [a-zA-Z0-9-] from the local host ↵Lennart Poettering2006-04-241-1/+4
| | | | | | name before using it in mDNS. (see #21) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1194 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make sure that the local hostname passes the avahi_is_valid_domain_name() check.Lennart Poettering2005-11-091-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@940 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * deal with gethostname() failing, use utsname.sysname[] instead in that caseLennart Poettering2005-11-081-10/+38
| | | | | | | * deal with utsname() failing when creating HINFO records git-svn-id: file:///home/lennart/svn/public/avahi/trunk@938 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replace AF_UNSPEC by AVAHI_PROTO_UNSPEC in client-test.cLennart Poettering2005-10-251-0/+101
* remove some functions from the public API in avahi-common/{domain,address}.[ch] and move them into avahi-core/{domain-util,add-util}.[ch] * properly generate CNAME responses * add some more comments to server.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@871 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe