Random port based on IANI recommendations

This commit is contained in:
mysticbbs 2013-09-07 19:03:42 -04:00
parent 027af16d6f
commit 228e261c93

View file

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