pppoe support
This commit is contained in:
parent
81a2e1f936
commit
d323a9d582
@ -174,6 +174,10 @@ function process_radiust_rest($tur, $code)
|
||||
$attrs['reply:expiration'] = date('d M Y H:i:s', $timeexp);
|
||||
$attrs['reply:WISPr-Session-Terminate-Time'] = date('Y-m-d', $timeexp) . 'T' . date('H:i:sP', $timeexp);
|
||||
|
||||
if ($plan['type'] == 'PPPOE') {
|
||||
$attrs['reply:Framed-Pool'] = $plan['pool'];
|
||||
}
|
||||
|
||||
if ($plan['typebp'] == "Limited") {
|
||||
if ($plan['limit_type'] == "Time_Limit") {
|
||||
if ($plan['time_unit'] == 'Hrs')
|
||||
|
Loading…
x
Reference in New Issue
Block a user