Random port based on IANI recommendations
This commit is contained in:
parent
027af16d6f
commit
228e261c93
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue