Fixed missing ipad setup for outgoing connections

This commit is contained in:
Mark Pizzolato 2012-12-26 10:55:35 -08:00
parent af93ca96c3
commit 33a2ec9e35

View file

@ -783,6 +783,8 @@ for (i = 0; i < mp->lines; i++) { /* check each line in se
lp->conn = TRUE; /* record connection */ lp->conn = TRUE; /* record connection */
lp->sock = lp->connecting; /* it now looks normal */ lp->sock = lp->connecting; /* it now looks normal */
lp->connecting = 0; lp->connecting = 0;
lp->ipad = realloc (lp->ipad, 1+strlen (lp->destination));
strcpy (lp->ipad, lp->destination);
lp->cnms = sim_os_msec (); lp->cnms = sim_os_msec ();
break; break;
case -1: /* failed connection */ case -1: /* failed connection */