summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/vpn.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 57d14fd..df6ad6a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -992,12 +992,11 @@ EOD;
for ($i = 0; $i < $pptpdcfg['n_pptp_units']; $i++) {
$clientip = long2ip(ip2long($pptpdcfg['remoteip']) + $i);
- $ngif = "ng" . ($i+1);
$mpdconf .= <<<EOD
pt{$i}:
- new -i {$ngif} pt{$i} pt{$i}
+ new -i pptpd{$i} pt{$i} pt{$i}
set ipcp ranges {$pptpdcfg['localip']}/32 {$clientip}/32
load pts
@@ -1210,7 +1209,7 @@ EOD;
$mpdconf .=<<<EOD
pppoe{$i}:
- new pppoe{$i} pppoe{$i}
+ new -i ppoed{$i} pppoe{$i} pppoe{$i}
{$isssue_ip_type}
load pppoe_standart
OpenPOWER on IntegriCloud