summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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