summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-28 23:33:45 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-28 23:33:45 +0000
commitbfa6d878c81a14309651c368a1f89f009f6379eb (patch)
tree5edab96e07f943e607977cc8f1a77e978e2c6c38
parent19ef51209b4ef6c15c330da3750db1ee9e59a6d7 (diff)
downloadpfsense-bfa6d878c81a14309651c368a1f89f009f6379eb.zip
pfsense-bfa6d878c81a14309651c368a1f89f009f6379eb.tar.gz
Use better interface names.
-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