Fixed missing ipad setup for outgoing connections
This commit is contained in:
parent
af93ca96c3
commit
33a2ec9e35
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue