aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-04-14 14:39:13 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-04-14 14:39:13 -0400
commit035b985f2789089ed9d68ad2568c5ac0901eda4e (patch)
tree3b2d8a05edaeebc16aef56c3dfa1e10079a92f49 /config
parent2db4a9cf5672f8bfbf3aba867d8eb5bb32df7092 (diff)
downloadpfsense-packages-035b985f2789089ed9d68ad2568c5ac0901eda4e.tar.gz
pfsense-packages-035b985f2789089ed9d68ad2568c5ac0901eda4e.tar.bz2
pfsense-packages-035b985f2789089ed9d68ad2568c5ac0901eda4e.zip
Check to see if the pkg is not off
Diffstat (limited to 'config')
-rw-r--r--config/squid/squid.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index 0ce8b2fb..113bc09f 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -1244,7 +1244,7 @@ function squid_generate_rules($type) {
$rules .= "rdr on $iface proto tcp from any to !($iface) port 80 -> 127.0.0.1 port 80\n";
}
/* Handle PPPOE case */
- if($config['pppoe']['mode'] == "server") {
+ if($config['pppoe']['mode'] == "off") {
$rules .= "rdr on \$pppoe proto tcp from any to !(\$pppoe) port 80 -> 127.0.0.1 port 80\n";
}
/* Handle PPTP case */
@@ -1260,7 +1260,7 @@ function squid_generate_rules($type) {
$rules .= "pass in quick on $iface proto tcp from any to !($iface) port $port flags S/SA keep state\n";
$rules .= "\n";
};
- if($config['pppoe']['mode'] == "server") {
+ 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") {