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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user