telnet: provide feedback after successful connect
The real telnet provides some feedback: Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. We should do this to, because people are sitting there and think a firewall is dropping packets. function old new delta telnet_main 1270 1279 +9 Signed-off-by: Danijel Tasov <m@rbfh.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
39b18196f8
commit
3f4fac577a
@ -639,6 +639,7 @@ int telnet_main(int argc UNUSED_PARAM, char **argv)
|
||||
bb_show_usage();
|
||||
|
||||
xmove_fd(create_and_connect_stream_or_die(host, port), netfd);
|
||||
printf("Connected to %s\n", host);
|
||||
|
||||
setsockopt_keepalive(netfd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user