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

Added an optional validation argument to sim_parse_addr for callers which need to confirm incoming connections come from expected sources

This commit is contained in:
Mark Pizzolato
2012-12-09 12:12:09 -08:00
parent 822fedf8ce
commit 7f6a1af5bf
8 changed files with 135 additions and 104 deletions

View File

@@ -498,7 +498,7 @@ while (*cptr != 0) { /* do all mods */
return r;
}
else {
r = sim_parse_addr (gbuf, NULL, 0, NULL, NULL, 0, NULL);
r = sim_parse_addr (gbuf, NULL, 0, NULL, NULL, 0, NULL, NULL);
if (r == SCPE_OK) {
if (sim_con_tmxr.master) /* already open? */
sim_set_notelnet (0, NULL); /* close first */