1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-11 23:53:30 +00:00

Added connection destination display to connection status even when a connection has not yet been established.

This commit is contained in:
Mark Pizzolato 2013-07-11 14:09:08 -10:00
parent 1926e9d6a9
commit e71139a9a0

View File

@ -3442,6 +3442,9 @@ if ((lp->sock) || (lp->connecting)) { /* tcp connection? */
else /* incoming connection */
fprintf (st, "Connection from IP address %s\n", lp->ipad);
}
else
if (lp->destination) /* remote connection? */
fprintf (st, "Connecting to remote port %s\n", lp->destination);/* print port name */
if (lp->sock) {
char *sockname, *peername;