From c9b2877de10956a659467354ecb2f52b8825c54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20VAR=C3=88NE?= Date: Thu, 25 May 2023 19:00:54 +0200 Subject: [PATCH] uspot: accounting: use provided nas_port_type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thibaut VARĂˆNE --- feeds/ucentral/uspot/files/usr/share/uspot/accounting.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/ucentral/uspot/files/usr/share/uspot/accounting.uc b/feeds/ucentral/uspot/files/usr/share/uspot/accounting.uc index a49eeab96..6f8577509 100755 --- a/feeds/ucentral/uspot/files/usr/share/uspot/accounting.uc +++ b/feeds/ucentral/uspot/files/usr/share/uspot/accounting.uc @@ -59,7 +59,7 @@ function radius_init(interface, mac, payload) { if (mac) { // dealing with client accounting let client = interfaces[interface].clients[mac]; - for (let key in [ 'acct_session', 'client_ip', 'called_station', 'calling_station', 'nas_ip', 'username', 'location_name' ]) + for (let key in [ 'acct_session', 'client_ip', 'called_station', 'calling_station', 'nas_ip', 'nas_port_type', 'username', 'location_name' ]) if (client.radius[key]) payload[key] = client.radius[key]; }