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

Call to identify() (IDENT lookup) assumed local port 23 for telnet.

parent 50f5e44c
No related branches found
No related tags found
No related merge requests found
......@@ -3668,7 +3668,7 @@ void DLLCALL bbs_thread(void* arg)
identity=NULL;
if(startup->options&BBS_OPT_GET_IDENT) {
sbbs->bprintf("Resolving identity...");
identify(&client_addr, 23, str, sizeof(str)-1);
identify(&client_addr, startup->telnet_port, str, sizeof(str)-1);
identity=strrchr(str,':');
if(identity!=NULL) {
identity++; /* skip colon */
......
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