Hi,
The addr field of the output from utmpdump contains the ip address of the
connection. This is obtained by calling inet_ntoa on the ut.ut_addr field
(as depicted in the code below, utmpdump.c, Release 2.88). But in case the
ip address is an IPV6 address, the output contains the wrong ip address
Hi,
The "FROM" field in output of "w" command prints the value of the
remote-host. But the output for this field can contain just 16 characters as
depicted in the code snippet (taken from w.c, release 3.2.8) below.
This truncates the value in case FROM field is an IPV6 address or a
hostname. Is th
2 matches
Mail list logo