From 1c02337e0f17fa9fd068317249c6e9050ad47c39 Mon Sep 17 00:00:00 2001 From: jdegraeve Date: Tue, 28 Mar 2006 07:53:10 +0000 Subject: [PATCH] Fix both Authentication and Accounting to use Service-Type: Login git-svn-id: https://svn.m0n0.ch/wall/trunk@111 e36fee2c-cc09-0410-a7cc-ebac5c6737de --- captiveportal/radius_accounting.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/captiveportal/radius_accounting.inc b/captiveportal/radius_accounting.inc index cc80553..9f9064d 100644 --- a/captiveportal/radius_accounting.inc +++ b/captiveportal/radius_accounting.inc @@ -106,7 +106,7 @@ function RADIUS_ACCOUNTING_START($ruleno,$username,$sessionid,$radiusip,$radiusp */ // Default attributes - $racct->putAttribute(RADIUS_SERVICE_TYPE, RADIUS_OUTBOUND); + $racct->putAttribute(RADIUS_SERVICE_TYPE, RADIUS_LOGIN); $racct->putAttribute(RADIUS_NAS_PORT_TYPE, RADIUS_ETHERNET); $racct->putAttribute(RADIUS_NAS_PORT, $nas_port); $racct->putAttribute(RADIUS_ACCT_SESSION_ID, $sessionid); @@ -221,7 +221,7 @@ function RADIUS_ACCOUNTING_STOP($ruleno,$username,$sessionid,$start_time,$radius define("RADIUS_ACCT_OUTPUT_GIGAWORDS", "53"); // Default attributes - $racct->putAttribute(RADIUS_SERVICE_TYPE, RADIUS_OUTBOUND); + $racct->putAttribute(RADIUS_SERVICE_TYPE, RADIUS_LOGIN); $racct->putAttribute(RADIUS_NAS_PORT_TYPE, RADIUS_ETHERNET); $racct->putAttribute(RADIUS_NAS_PORT, $nas_port); $racct->putAttribute(RADIUS_ACCT_SESSION_ID, $sessionid); -- 2.43.0