summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 778e88e..8e112c0 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1318,7 +1318,7 @@ function system_start_ftp_helpers() {
/* if the ftp proxy is disabled for this interface then kill pftpx
* instance and continue. note that the helpers for port forwards are
* launched in a different sequence so we are filtering them out
- * here by not including -c {$port} -g 8021 first.
+ * here by not including -c {$port} -g 8021 first.
*/
$port = 8021 + $interface_counter;
if(isset($config['interfaces'][$ifname]['disableftpproxy'])) {
@@ -1341,7 +1341,9 @@ function system_start_ftp_helpers() {
$interface_counter++;
}
}
+ /* support bridged interfaces. even they need ftp mojo */
$num_bridges = find_number_of_created_bridges();
+ $num_bridges++;
mwexec("/usr/bin/killall ftpsesame");
for($x=0; $x<$num_bridges; $x++) {
mwexec("/usr/local/sbin/ftpsesame -i bridge{$x}");
OpenPOWER on IntegriCloud