From 7799bf1aee4c03163c927544656768c9d5e2e066 Mon Sep 17 00:00:00 2001 From: AGSTR <144728914+agstrxyz@users.noreply.github.com> Date: Thu, 23 Jan 2025 18:02:52 +0700 Subject: [PATCH] Update radius.php nasipaddress acctsessiontime --- radius.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/radius.php b/radius.php index 27b96557..daee1926 100644 --- a/radius.php +++ b/radius.php @@ -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)); -} \ No newline at end of file +}