1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

PDP10, PDP11, VAX, MUX: Fix allowed line attach syntax to accept UDP in any order among attach arguments

This commit is contained in:
Mark Pizzolato
2015-05-23 17:08:51 -07:00
parent 29fe0e6c8d
commit fa407e678b
2 changed files with 34 additions and 32 deletions

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,%s,Connect=%s,%s", dmc, cptr, peer);
sprintf (attach_string, "Line=%d,Connect=%s,%s", dmc, peer, cptr);
ans = tmxr_open_master (mp, attach_string); /* open master socket */
if (ans != SCPE_OK)
return ans;