summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-08-10 16:51:02 +0000
committerErmal <eri@pfsense.org>2010-08-10 16:51:21 +0000
commit18ec0f13ee08a2a61740fd3041f52f17a667fcbb (patch)
treefd702ab2b2f95e3218c4fb9fbae26b051a8fdafe /etc
parent01b8a2ff8e42439f606d050478580188220122ae (diff)
downloadpfsense-18ec0f13ee08a2a61740fd3041f52f17a667fcbb.zip
pfsense-18ec0f13ee08a2a61740fd3041f52f17a667fcbb.tar.gz
Use correct type so a proper config is generated. Reported by:http://forum.pfsense.org/index.php/topic,25465.msg141966.html#msg141966
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 9e802d2..5196205 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1350,9 +1350,9 @@ EOD;
if ($type == "pptp" || $type == "l2tp") {
$mpdconf .= <<<EOD
- set pptp self {$localips[$pid]}
- set pptp peer {$gateways[$pid]}
- set pptp disable windowing
+ set {$type} self {$localips[$pid]}
+ set {$type} peer {$gateways[$pid]}
+ set {$type} disable windowing
EOD;
}
OpenPOWER on IntegriCloud