telnetd: fill hostname field in utmp/wtmp records
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Apr 2010 15:43:29 +0000 (17:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Apr 2010 15:43:29 +0000 (17:43 +0200)
commitf6916dbed4233ef0e202d1b299cb5a2e9287a696
treea761598c5f3d6e935239d8631e7f984c4cd490d6
parentfcad7681f8a835f5c7b2093da505f46865a89d25
telnetd: fill hostname field in utmp/wtmp records

function                                             old     new   delta
get_lsa                                                -     109    +109
make_new_session                                     438     504     +66
get_peer_lsa                                           -      10     +10
ftpd_main                                           2340    2267     -73
get_sock_lsa                                         101      10     -91
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/2 up/down: 185/-164)           Total: 21 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/xconnect.c
networking/ftpd.c
networking/telnetd.c