From 34aeaaa5a5ee01ccc47263ad8516ef94269c1e5a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 7 Dec 2005 16:29:07 +0000 Subject: Fix pure-ftpd custom port settings Ticket #723 --- packages/pure-ftpdsettings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/pure-ftpdsettings.xml b/packages/pure-ftpdsettings.xml index 605b7818..676cc39a 100644 --- a/packages/pure-ftpdsettings.xml +++ b/packages/pure-ftpdsettings.xml @@ -96,7 +96,7 @@ if($_POST['connections']) $startline .= " -c " . $_POST['connections']; if($_POST['connectionsperip']) $startline .= " -C " . $_POST['connectionsperip']; if($_POST['cutoffthreshold']) $startline .= " -k " . $_POST['cutoffthreshold'];; - if($_POST['beginport'] and $_POST['endport']) $startline .= " -P " . $_POST['beginport'] . ":" . $_POST['endport']; + if($_POST['beginport'] and $_POST['endport']) $startline .= " -p " . $_POST['beginport'] . ":" . $_POST['endport']; if($_POST['uploadbw'] and $_POST['downloadbw']) $startline .= " -T " . $_POST['uploadbw'] . ":" . $_POST['downloadbw'];; if($_POST['natworkaround']) $startline .= " -N"; if($_POST['filedeletion']) $startline .= " -K"; -- cgit v1.2.3