| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
as per the manual page. Closes PR578.
Reviewed by:
Submitted by: Kenneth D. Merry
Obtained from:
|
| |
|
|
|
|
|
|
| |
w doesn't handle the non-'\0' terminated char arrays in struct utmp properly.
Submitted by: jarle@idt.unit.no
|
| |
|
|
|
|
| |
was breaking this before has been fixed.
|
|
|
|
| |
It is plural when zero and >1 users are logged in.
|
|
|
|
| |
skip cua* 3 chars as tty* 3 lchars
|
| |
|
| |
|
| |
|
|
|