PDP10, PDP11, VAX: Fix DMC/DMR attach setup when UDP transport is used.

This commit is contained in:
Mark Pizzolato 2015-05-23 05:24:23 -07:00
parent 47e61b5bdd
commit 29fe0e6c8d

View file

@ -3818,7 +3818,7 @@ if (!peer[0]) {
sim_printf ("Peer must be specified before attach\n");
return SCPE_ARG;
}
sprintf (attach_string, "Line=%d,Connect=%s,%s", dmc, peer, cptr);
sprintf (attach_string, "Line=%d,%s,Connect=%s,%s", dmc, cptr, peer);
ans = tmxr_open_master (mp, attach_string); /* open master socket */
if (ans != SCPE_OK)
return ans;