https://gitlab.synchro.net/main/sbbs/-/commit/e62347e3d86086cff832ff7b
Modified Files:
src/sbbs3/execnet.cpp ftpsrvr.cpp main.cpp sbbs.h telgate.cpp
Log Message:
Rename resolve_ip() to resolve_ipv4() and use in the FTP server's PASV response
Eliminates MSVC warning about use of deprecated function: gethostbyname()
Also, I noticed that the ftp_startup.pasv_addr wasn't being treated as network byte order here, so that was a bug. I guess no sysops were explicitly setting their FTP server's public IP address for use in IPv4-passive data transfers. ---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net