Ticket #94 (closed defect: wontfix)
don't accept "localhost" as local host name
| Reported by: | lennart | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | avahi-client | |
| Keywords: | Cc: |
Description
if gethostname() returns "localhost" fall back to uname, i.e. "linux".
#ifdef linux
Possibly use /etc/lsb-release for determining the distribution name instead of the kernel name.
#endif
$ cat /etc/lsb-release DISTRIB_ID=Debian DISTRIB_RELEASE=3.1 DISTRIB_CODENAME=sarge DISTRIB_DESCRIPTION=”Debian GNU/Linux”
Change History
Note: See
TracTickets for help on using
tickets.
