aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authormfuchs <martin.fuchs@trendchiller.com>2009-04-15 15:56:12 +0200
committermfuchs <martin.fuchs@trendchiller.com>2009-04-15 15:56:12 +0200
commitf4fdcaa40232a4fea83b12e37def9264fa719713 (patch)
treee3a800fa3728eeebfb557db5a5eb2b993172f2b0 /config
parent7e02319e28ee89c64841f1c5698b6b763ecee81d (diff)
downloadpfsense-packages-f4fdcaa40232a4fea83b12e37def9264fa719713.tar.gz
pfsense-packages-f4fdcaa40232a4fea83b12e37def9264fa719713.tar.bz2
pfsense-packages-f4fdcaa40232a4fea83b12e37def9264fa719713.zip
fix squid pptp error (http://forum.pfsense.org/index.php/topic,15579.0.html) next try
Diffstat (limited to 'config')
-rw-r--r--config/squid/squid.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index a819318e..0f94c1e5 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -1249,7 +1249,7 @@ function squid_generate_rules($type) {
}
/* Handle PPTP case */
// if($config['pptpd']['mode'] != "off") {
-// mode is not present after disabling "redir"
+// <mode> is not present in config.xml after disabling "redir"
if($config['pptpd']['mode'] == "server") {
$rules .= "rdr on \$pptp proto tcp from any to !(\$pptp) port 80 -> 127.0.0.1 port 80\n";
}
@@ -1265,7 +1265,9 @@ function squid_generate_rules($type) {
if($config['pppoe']['mode'] == "off") {
$rules .= "pass in quick on \$pppoe proto tcp from any to !(\$pppoe) port $port flags S/SA keep state\n";
}
- if($config['pptpd']['mode'] != "off") {
+// if($config['pptpd']['mode'] != "off") {
+// <mode> is not present in config.xml after disabling "redir"
+ if($config['pptpd']['mode'] == "server") {
$rules .= "pass in quick on \$pptp proto tcp from any to !(\$pptp) port $port flags S/SA keep state\n";
}
break;