Revision 04c64709
Added by Kacper Boström over 6 years ago
src/etc/inc/openvpn.auth-user.php | ||
---|---|---|
100 | 100 |
|
101 | 101 |
$attributes = array("nas_identifier" => "openVPN", |
102 | 102 |
"nas_port_type" => RADIUS_VIRTUAL, |
103 |
"nas_port" => $_GET['nas_port']); |
|
103 |
"nas_port" => $_GET['nas_port'], |
|
104 |
"calling_station_id" => get_interface_ip() . ":" . $_GET['nas_port']); |
|
104 | 105 |
|
105 | 106 |
foreach ($authmodes as $authmode) { |
106 | 107 |
$authcfg = auth_get_authserver($authmode); |
Also available in: Unified diff
Fixed regression where calling station id was removed from openvpn
(cherry picked from commit 95f3d049bfead1c6faf04c8a626a7ce868f8b6f8)