From e71139a9a02205dbb2c663d91c14b9a30fd9da15 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 11 Jul 2013 14:09:08 -1000 Subject: [PATCH] Added connection destination display to connection status even when a connection has not yet been established. --- sim_tmxr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sim_tmxr.c b/sim_tmxr.c index 7cf56f80..85a312a6 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -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;