diff options
author | sullrich <sullrich@pfsense.org> | 2009-12-02 20:17:59 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-12-02 20:17:59 -0500 |
commit | f2b4ff2b598518829535246cc473ec046c52faee (patch) | |
tree | 6d3f4a955dde85e65ff42625d436e8c5cb0d14f6 /etc | |
parent | 2c75b451becbf3e74466df54e2b3bdbe02ac7abf (diff) | |
download | pfsense-f2b4ff2b598518829535246cc473ec046c52faee.zip pfsense-f2b4ff2b598518829535246cc473ec046c52faee.tar.gz |
Restore lost code. Noticed-by: Ermal
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 4 |
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); |