Update radius.php

nasipaddress
acctsessiontime
This commit is contained in:
AGSTR 2025-01-23 18:02:52 +07:00 committed by GitHub
parent 3502be2c78
commit 7799bf1aee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -291,7 +291,8 @@ try {
$d->acctsessionid = _post('acctSessionId');
$d->username = $username;
$d->realm = _post('realm');
$d->nasipaddress = _post('nasip');
$d->nasipaddress = _post('nasIpAddress');
$d->acctsessiontime = intval(_post('acctSessionTime'));
$d->nasid = _post('nasid');
$d->nasportid = _post('nasPortId');
$d->nasporttype = _post('nasPortType');
@ -452,4 +453,4 @@ function show_radius_result($array, $code = 200)
die();
}
die(json_encode($array));
}
}