summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-02 20:17:59 -0500
committersullrich <sullrich@pfsense.org>2009-12-02 20:17:59 -0500
commitf2b4ff2b598518829535246cc473ec046c52faee (patch)
tree6d3f4a955dde85e65ff42625d436e8c5cb0d14f6 /etc
parent2c75b451becbf3e74466df54e2b3bdbe02ac7abf (diff)
downloadpfsense-f2b4ff2b598518829535246cc473ec046c52faee.zip
pfsense-f2b4ff2b598518829535246cc473ec046c52faee.tar.gz
Restore lost code. Noticed-by: Ermal
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 1f07ac7..5b2ac21 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -981,11 +981,11 @@ pptpd:
EOD;
- for ($i = 0; $i < $g['n_pptp_units']; $i++) {
+ for ($i = 0; $i < $pptpdcfg['n_pptp_units']; $i++) {
$mpdconf .= " load pt{$i}\n";
}
- for ($i = 0; $i < $g['n_pptp_units']; $i++) {
+ for ($i = 0; $i < $pptpdcfg['n_pptp_units']; $i++) {
$clientip = long2ip(ip2long($pptpdcfg['remoteip']) + $i);
$ngif = "ng" . ($i+1);
OpenPOWER on IntegriCloud