]> git.gsnw.org Git - m0n0chwall.git/commitdiff
Change $racct-> into $rauth-> since we are in authentication and NOT in accounting
authorjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Fri, 10 Feb 2006 13:22:33 +0000 (13:22 +0000)
committerjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Fri, 10 Feb 2006 13:22:33 +0000 (13:22 +0000)
git-svn-id: https://svn.m0n0.ch/wall/trunk@77 e36fee2c-cc09-0410-a7cc-ebac5c6737de

captiveportal/radius_authentication.inc

index 4759127db21c163596ba23409730da1aefdfdd66..09f262e0fac22544a292a21f898b1b3ae755d592 100644 (file)
@@ -101,9 +101,9 @@ function RADIUS_AUTHENTICATION($username,$password,$radiusservers,$clientip,$cli
     $rauth->putAttribute(RADIUS_NAS_PORT, $nas_port);
 
     // Extra data to identify the client and nas
-    $racct->putAttribute(RADIUS_FRAMED_IP_ADDRESS, $clientip);
-    $racct->putAttribute(RADIUS_CALLING_STATION_ID, $callingstationid);
-    $racct->putAttribute(RADIUS_CALLED_STATION_ID, $calledstationid);
+    $rauth->putAttribute(RADIUS_FRAMED_IP_ADDRESS, $clientip);
+    $rauth->putAttribute(RADIUS_CALLING_STATION_ID, $callingstationid);
+    $rauth->putAttribute(RADIUS_CALLED_STATION_ID, $calledstationid);
 
     // Send request
     $result = $rauth->send();