pppoe support

This commit is contained in:
Ibnu Maksum 2024-07-10 14:58:30 +07:00
parent 81a2e1f936
commit d323a9d582
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -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')