diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-06 19:14:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-06 19:14:49 +0000 |
commit | a429d1054daaa6cfe1ba53a4cb86a342696b42fb (patch) | |
tree | 6bf01629dc35322c456ec6e12efd4d6e5e21dc67 /etc/inc | |
parent | 68a5dcd8c5fcb7dad04ccb8b47ff22fe1a5621c7 (diff) | |
download | pfsense-a429d1054daaa6cfe1ba53a4cb86a342696b42fb.zip pfsense-a429d1054daaa6cfe1ba53a4cb86a342696b42fb.tar.gz |
Allow PPPoE server subnet to be defined by user.
Ticket #282
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vpn.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index dfb9a45..193262e 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -830,11 +830,11 @@ pppoe: EOD; - for ($i = 0; $i < $g['n_pppoe_units']; $i++) { + for ($i = 0; $i < $pppoecfg['n_pppoe_units']; $i++) { $mpdconf .= " load pppoe{$i}\n"; } - for ($i = 0; $i < $g['n_pppoe_units']; $i++) { + for ($i = 0; $i < $pppoecfg['n_pppoe_units']; $i++) { $clientip = long2ip(ip2long($pppoecfg['remoteip']) + $i); $ngif = "ng" . ($i+1); @@ -921,7 +921,7 @@ EOD; $mpdlinks = ""; - for ($i = 0; $i < $g['n_pppoe_units']; $i++) { + for ($i = 0; $i < $pppoecfg['n_pppoe_units']; $i++) { $mpdlinks .= <<<EOD pppoe: |