mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
The function find_number_of_created_bridges() returns the actual number of bridges.
Don't increment this number. This prevents running the command without having anything configured.
This commit is contained in:
parent
7d0e5565fe
commit
b1e89f06dd
@ -1690,7 +1690,6 @@ function system_start_ftp_helpers() {
|
||||
}
|
||||
/* support bridged interfaces. even they need ftp mojo */
|
||||
$num_bridges = find_number_of_created_bridges();
|
||||
$num_bridges++;
|
||||
for($x=0; $x<$num_bridges; $x++) {
|
||||
mwexec("/usr/local/sbin/ftpsesame {$shaper_queue}-i bridge{$x}");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user