diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-01 23:37:43 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-01 23:37:43 +0000 |
commit | 62863183e41ce9f900e724f0327c4df1a7a4978d (patch) | |
tree | c1fd71ce28e887f17c5055a48d12fb8aa546d717 /include/stdlib.h | |
parent | e695132933c327a4fd7a0d0c87825d195bf65d79 (diff) |
Major overhaul.
Add protocol version 3 support. To avoid doing two separate broadcasts
(like the solaris client does) we now do the equivalent of clnt_broadcast()
ourselves and send both version 2 and 3 broadcasts. These are staggered
such that under normal circumstances the version 3 reply will be received
before the version 2 reply (which is what we want). Version 3 support
is important now that we have long user and host names in utmp.
Avoid potential duplicates on multihomed machines by storing all
the addresses we get back from gethostbyaddr(), not just a single
address.
Reduce the timeout from 1 minute to 30 seconds which is closer to
what Solaris uses and is generally more useful.
Check window width and take this into account when formatting lines
in -l mode.
Diffstat (limited to 'include/stdlib.h')
0 files changed, 0 insertions, 0 deletions