diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-02-02 00:24:40 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-02-02 00:24:40 -0600 |
commit | f362c73bb7eb00b297fdf9be5895cbb94548558f (patch) | |
tree | da183a5ed10e8c87e5a9f5a7e236549b6b371163 | |
parent | a2b813bff254f7f3f2a3ac6f49c4735ddd5506e1 (diff) | |
download | pfsense-f362c73bb7eb00b297fdf9be5895cbb94548558f.zip pfsense-f362c73bb7eb00b297fdf9be5895cbb94548558f.tar.gz |
Use the NAS IP configured for PPPoE server instances. Ticket #185
-rw-r--r-- | src/etc/inc/vpn.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/vpn.inc b/src/etc/inc/vpn.inc index 97eea23..c79a761 100644 --- a/src/etc/inc/vpn.inc +++ b/src/etc/inc/vpn.inc @@ -1708,6 +1708,9 @@ EOD; EOD; } + if (isset($pppoecfg['radius']['nasip'])) { + $mpdconf .= "\tset radius me {$pppoecfg['radius']['nasip']}\n"; + } } fwrite($fd, $mpdconf); |