summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-08 01:22:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-08 01:22:00 +0000
commitbcd3f3adfd4718242fd6ed095ab86b0cd6bb6631 (patch)
treeaa3f3513dd7f3f4cbde14ef0e03607beae4f013b /etc
parentbeaff8b098a92089b348a37f29b4431917a20117 (diff)
downloadpfsense-bcd3f3adfd4718242fd6ed095ab86b0cd6bb6631.zip
pfsense-bcd3f3adfd4718242fd6ed095ab86b0cd6bb6631.tar.gz
FTP Helper changes.
Do not setup for WAN interface Submitted-by: Dan Swartzendruber <dswartz_AT_druber.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc3
-rw-r--r--etc/inc/filter.inc2
2 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index bdd58b4..a3ce8a8 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1191,7 +1191,7 @@ function system_start_ftp_helpers() {
global $config, $g;
/* build an array of interfaces to work with */
- $iflist = array("lan" => "LAN", "wan" => "WAN");
+ $iflist = array("lan" => "LAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++)
$iflist['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
@@ -1213,7 +1213,6 @@ function system_start_ftp_helpers() {
if($helpers)
mwexec("/bin/kill {$helpers}");
$interface_counter++;
- continue;
} else {
/* grab the current interface IP address */
$ip = find_interface_ip(convert_friendly_interface_to_real_interface_name($ifname));
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 8cdea78..37f41f5 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -545,7 +545,7 @@ function filter_nat_rules_generate() {
$natrules .= "rdr-anchor \"slb\"\n";
/* build an array of interfaces to work with */
- $iflist = array("lan" => "LAN", "wan" => "WAN");
+ $iflist = array("lan" => "LAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++)
$iflist['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
$natrules .= "# FTP proxy\n";
OpenPOWER on IntegriCloud