Random port based on IANI recommendations

This commit is contained in:
mysticbbs 2013-09-07 19:03:42 -04:00
parent 027af16d6f
commit 228e261c93
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ Begin
Password := ''; Password := '';
UserPos := -1; UserPos := -1;
DataIP := ''; DataIP := '';
DataPort := 20; DataPort := Random(bbsConfig.inetFTPPortMax - bbsConfig.inetFTPPortMin) + bbsConfig.inetFTPPortMin;
DataSocket := NIL; DataSocket := NIL;
IsPassive := False; IsPassive := False;
FBasePos := -1; FBasePos := -1;