freebsd-dev/usr.bin/w
Peter Wemm 6367cd09b8 When 'w' finds an IP address in the ut_host field, it attempts to do
a gethostbyname() on it.  That can take a long time...  (especially
if the reason the IP address is in there in the first place is because
login/rlogind/telnetd couldn't find it either....)
This patch reduces the gethostbyaddr lookup time to 2 seconds, the idea being
that if the local nameserver knows the answer, it'll answer within that time,
otherwise we dont care... :-)
This change doesn't do anything about whether or not w should do this in the
first place, but at least it will make the current behavior less painful.
Reviewed by:	David Greenman
1995-07-18 05:07:02 +00:00
..
extern.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
Makefile Install with default BINOWN (as it once used to be). 1995-04-15 03:31:19 +00:00
pr_time.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
proc_compare.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
uptime.1 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
w.1 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
w.c When 'w' finds an IP address in the ut_host field, it attempts to do 1995-07-18 05:07:02 +00:00