summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-22 16:59:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-22 16:59:55 +0000
commit328637fe8a22f47ca5489a80c43e8e4e6e46ff1f (patch)
treecb755b0757b4ac89af0ac7631f5e55b980ab0d4e /etc
parent937200e191ed5c79d2ba6c20275adc22eedc2d92 (diff)
downloadpfsense-328637fe8a22f47ca5489a80c43e8e4e6e46ff1f.zip
pfsense-328637fe8a22f47ca5489a80c43e8e4e6e46ff1f.tar.gz
Use lowercase interface name
Diffstat (limited to 'etc')
-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