summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/radius_authentication.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-01-18 09:10:36 +0100
committerSeth Mos <seth.mos@dds.nl>2011-01-18 09:10:36 +0100
commit1f74cd2d101f032472a4968a10b64161652d6c1f (patch)
treed692513243aaed6003264f0b877b50cbeb69328b /usr/local/captiveportal/radius_authentication.inc
parentc9d174dfc0a29c59ae35f43a470460f36f695b61 (diff)
parent96e889fc1e938187dd18238d80e3163e1aca3006 (diff)
downloadpfsense-1f74cd2d101f032472a4968a10b64161652d6c1f.zip
pfsense-1f74cd2d101f032472a4968a10b64161652d6c1f.tar.gz
Merge remote branch 'upstream/master'
Conflicts: etc/inc/interfaces.inc etc/inc/system.inc
Diffstat (limited to 'usr/local/captiveportal/radius_authentication.inc')
-rw-r--r--usr/local/captiveportal/radius_authentication.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/radius_authentication.inc b/usr/local/captiveportal/radius_authentication.inc
index 1f7e2b5..142ab0e 100644
--- a/usr/local/captiveportal/radius_authentication.inc
+++ b/usr/local/captiveportal/radius_authentication.inc
@@ -103,7 +103,7 @@ function RADIUS_AUTHENTICATION($username,$password,$radiusservers,$clientip,$cli
// Default attributes
$rauth->putAttribute(RADIUS_SERVICE_TYPE, RADIUS_LOGIN);
$rauth->putAttribute(RADIUS_NAS_PORT_TYPE, RADIUS_ETHERNET);
- $rauth->putAttribute(RADIUS_NAS_PORT, $nas_port);
+ $rauth->putAttribute(RADIUS_NAS_PORT, $nas_port, 'integer');
// Extra data to identify the client and nas
$rauth->putAttribute(RADIUS_FRAMED_IP_ADDRESS, $clientip, addr);
OpenPOWER on IntegriCloud