From 33a2ec9e35d9509e48785926818403604cfea8d1 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 26 Dec 2012 10:55:35 -0800 Subject: [PATCH] Fixed missing ipad setup for outgoing connections --- sim_tmxr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sim_tmxr.c b/sim_tmxr.c index 441300af..966bfd84 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -783,6 +783,8 @@ for (i = 0; i < mp->lines; i++) { /* check each line in se lp->conn = TRUE; /* record connection */ lp->sock = lp->connecting; /* it now looks normal */ lp->connecting = 0; + lp->ipad = realloc (lp->ipad, 1+strlen (lp->destination)); + strcpy (lp->ipad, lp->destination); lp->cnms = sim_os_msec (); break; case -1: /* failed connection */