Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!uunet!cs.utexas.edu!sun-barr!ames!think.com!sdd.hp.com!wupost!slustl!ejh From: ejh@slustl.slu.edu (Eric J. Haug) Subject: 386BSD gethostbyname change Message-ID: <1992Oct5.125237.5267@slustl.slu.edu> Organization: St. Louis Univ. Date: Mon, 5 Oct 1992 12:52:37 GMT Lines: 15 I became tired of not being able to boot 386bsd and mount the two NFS partitions because the ethernet bridge was down, or the name server was not up to date, so i changed the way hostname lookup fails. Any comments? eric In the file gethostnamadr.c in src/lib/libc/net at around line 281 #if 0 /* get rid of this, in favor of ... ejh@slustl.slu.edu */ if (errno == ECONNREFUSED) return (_gethtbyname(name)); else return ((struct hostent *) NULL); #else /* always check the local host table */ return (_gethtbyname(name)); #endif