summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/config.inc2
-rw-r--r--etc/inc/filter.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 3a89658..2a5e6e0 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1222,7 +1222,7 @@ function system_start_ftp_helpers() {
* here by not including -c {$port} -g 8021 first.
*/
$port = 8021 + $interface_counter;
- if(isset($config['interfaces'][$ifname]['disableftpproxy'])) {
+ if(isset($config['interfaces'][strtolower($ifname)]['disableftpproxy'])) {
/* item is disabled. lets ++ the interface counter and
* keep processing interfaces. kill pftpx if already
* running for this instance.
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 3f49fd1..d6ca0a8 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -632,7 +632,7 @@ function filter_nat_rules_generate() {
* a ftp server then launch a helper
*/
if($target <> "") {
- if($extport[0] == "21" and !isset($config['interfaces'][$rule['interface']]['disableftpproxy'])) {
+ if($extport[0] == "21" and !isset($config['interfaces'][strtolower($rule['interface'])]['disableftpproxy'])) {
$helpers = exec("/bin/ps awux | grep {$target} | grep -v grep");
if(!$helpers) {
$external_address = $rule['external-address'];
OpenPOWER on IntegriCloud