Skip to content
Snippets Groups Projects
Commit 1e9316c2 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

A couple fixes for NORTS mode

1) In the BBS list, show flow control, not TCP port
2) Properly ignore DCD
parent bb5b9d86
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3909 passed
......@@ -1060,7 +1060,7 @@ edit_list(struct bbslist **list, struct bbslist *item, char *listpath, int isdef
sprintf(opt[i++], "Address %s", item->addr);
}
sprintf(opt[i++], "Connection Type %s", conn_types[item->conn_type]);
if ((item->conn_type == CONN_TYPE_MODEM) || (item->conn_type == CONN_TYPE_SERIAL))
if ((item->conn_type == CONN_TYPE_MODEM) || (item->conn_type == CONN_TYPE_SERIAL) || (item->conn_type == CONN_TYPE_SERIAL_NORTS))
fc_str(opt[i++], item->flow_control);
else if (item->conn_type != CONN_TYPE_SHELL)
sprintf(opt[i++], "TCP Port %hu", item->port);
......
......@@ -322,7 +322,7 @@ modem_connect(struct bbslist *bbs)
}
conn_api.wr_buf_size = BUFFER_SIZE;
if (bbs->conn_type == CONN_TYPE_SERIAL) {
if ((bbs->conn_type == CONN_TYPE_SERIAL) || (bbs->conn_type == CONN_TYPE_SERIAL_NORTS)) {
_beginthread(modem_output_thread, 0, (void *)-1);
_beginthread(modem_input_thread, 0, (void *)-1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment