Date: Thu, 22 Dec 2005 00:34:49 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil trimdomain.c Message-ID: <200512220034.jBM0Yn6T053276@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2005-12-22 00:34:49 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
lib/libutil trimdomain.c
Log:
MFC rev 1.6:
When removing the local domain, only do so when the result
will be a host name. This is matches the documented behaviro.
The previous behavior would remove the domain name even if
the result retained a dot.
This fixes rsh connections from a.example.com to example.com.
This is also reported to fix rsh connections from host xxx to
yyy.example.com.
PR: 88301
Revision Changes Path
1.5.10.1 +1 -3 src/lib/libutil/trimdomain.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512220034.jBM0Yn6T053276>
