summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorKacper <kacper.bostrom@combitech.se>2018-12-07 10:39:51 +0100
committerjim-p <jimp@netgate.com>2018-12-11 09:44:08 -0500
commit04c647094c37474e902a94c5ee9dfb3ee87b04fd (patch)
tree3dba99274b82b72298596dafcd7bb23cf80edeff /src/etc
parent89a746a94db291cd006e5a615c393e034e145990 (diff)
downloadpfsense-04c647094c37474e902a94c5ee9dfb3ee87b04fd.zip
pfsense-04c647094c37474e902a94c5ee9dfb3ee87b04fd.tar.gz
Fixed regression where calling station id was removed from openvpn
(cherry picked from commit 95f3d049bfead1c6faf04c8a626a7ce868f8b6f8)
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/openvpn.auth-user.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/openvpn.auth-user.php b/src/etc/inc/openvpn.auth-user.php
index 038511d..90f572a 100644
--- a/src/etc/inc/openvpn.auth-user.php
+++ b/src/etc/inc/openvpn.auth-user.php
@@ -100,7 +100,8 @@ if (!is_array($authmodes)) {
$attributes = array("nas_identifier" => "openVPN",
"nas_port_type" => RADIUS_VIRTUAL,
- "nas_port" => $_GET['nas_port']);
+ "nas_port" => $_GET['nas_port'],
+ "calling_station_id" => get_interface_ip() . ":" . $_GET['nas_port']);
foreach ($authmodes as $authmode) {
$authcfg = auth_get_authserver($authmode);
OpenPOWER on IntegriCloud