Should send the client ip to radius instead
authorNeutron Soutmun <neo.neutron@gmail.com>
Thu, 29 Sep 2011 05:07:42 +0000 (12:07 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Thu, 29 Sep 2011 05:07:42 +0000 (12:07 +0700)
  * weblogin/rahu_radius.class.php (rahu_radius_acct):
    - Should send the client ip to radius instead.

weblogin/rahu_radius.class.php

index bce2993..09d2697 100644 (file)
@@ -257,7 +257,6 @@ class rahu_radius_acct {
                              ip2long($this->framed_ip_address));
     $racct->putAttribute(RADIUS_CALLING_STATION_ID, $this->calling_station_id);
     $racct->putAttribute(RADIUS_NAS_IDENTIFIER, $this->nas_identifier);
-    $racct->putAttribute(RADIUS_NAS_IP_ADDRESS, ip2long($this->nas_ip_address));
     $racct->putAttribute(RADIUS_NAS_PORT, $this->nas_port);
     $racct->putAttribute(RADIUS_CALLED_STATION_ID, $this->called_station_id);