summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-15 03:55:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-15 03:55:07 +0000
commit29d81879d89eb169a3fb5f586166703d5793bcbf (patch)
tree549cc32759db2a965c0524649410a91ce629c183 /etc/inc
parent8fd749cc3340bcafb2df8684dc315b3b572a7890 (diff)
downloadpfsense-29d81879d89eb169a3fb5f586166703d5793bcbf.zip
pfsense-29d81879d89eb169a3fb5f586166703d5793bcbf.tar.gz
Remove old lo0 line
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 3be4049..0c65c7f 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1391,8 +1391,8 @@ EOD;
$optcfg = array();
generate_optcfg_array($optcfg);
foreach($optcfg as $oc) {
- if(!isset($oc['gateway']) && $oc['if']) {
- $ipfrules .= "pass in quick on {$oc['if']} inet proto tcp from any to (lo0) port 21 keep state label \"FTP PROXY: Allow traffic to localhost\"\n";
+ if(!isset($oc['gateway']) && $oc['if'] <> "") {
+ $ipfrules .= "pass in quick on (" . $oc['if'] . ") inet proto tcp from any to (lo0) port 21 keep state label \"FTP PROXY: Allow traffic to localhost\"\n";
}
}
@@ -1400,7 +1400,6 @@ EOD;
anchor "ftpproxy"
anchor "pftpx/*"
-pass in quick on $lan inet proto tcp from any to lo0 port 21 keep state label "FTP PROXY: Allow traffic to localhost"
pass in quick on $wanif inet proto tcp from port 20 to ($wanif) port > 49000 user proxy flags S/SA keep state label "FTP PROXY: PASV mode data connection"
EOD;
@@ -2177,4 +2176,4 @@ function return_vpn_subnet($adr) {
return " # error - {$adr['network']} ";
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud