Skip to content
Snippets Groups Projects
Commit 26a1e243 authored by rswindell's avatar rswindell
Browse files

Sets intelligent defaults for port numbers if uninitialized.

parent 4a30a6d8
Branches
Tags
No related merge requests found
......@@ -2880,6 +2880,10 @@ void DLLCALL bbs_thread(void* arg)
return;
}
/* Setup intelligent defaults */
if(startup->telnet_port==0) startup->telnet_port=IPPORT_TELNET;
if(startup->rlogin_port==0) startup->rlogin_port=513;
thread_up();
status("Initializing");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment