brooks 87f2281f65 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.

Reviewed by:	ceri (at least the concept)
2005-10-05 04:42:20 +00:00
..
2005-01-20 09:17:07 +00:00
2004-12-18 12:31:12 +00:00
2005-01-20 09:17:07 +00:00
2005-01-11 20:50:51 +00:00
2005-04-10 12:15:25 +00:00
2004-12-29 02:18:24 +00:00
2003-10-29 10:55:56 +00:00
2005-02-27 22:24:24 +00:00
2005-01-20 09:17:07 +00:00
2004-07-02 23:52:20 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00