cvs commit: src/lib/libutil trimdomain.c

Brooks Davis brooks at FreeBSD.org
Tue Oct 4 21:42:20 PDT 2005


brooks      2005-10-05 04:42:20 UTC

  FreeBSD src repository

  Modified files:
    lib/libutil          trimdomain.c 
  Log:
  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)
  
  Revision  Changes    Path
  1.6       +1 -3      src/lib/libutil/trimdomain.c


More information about the cvs-all mailing list