From: jdegraeve Date: Tue, 28 Mar 2006 07:53:10 +0000 (+0000) Subject: Fix both Authentication and Accounting to use Service-Type: Login X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c02337e0f17fa9fd068317249c6e9050ad47c39;p=m0n0chwall.git 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 --- 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);