Permalink
Browse files

radiusplugin_v2.1_beta4.tar.gz

  • Loading branch information...
1 parent ff33606 commit ffb7596b734e0ddd5a0d1e5c561cf853bc2122af @squadette committed May 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 AccountingProcess.cpp
View
@@ -221,7 +221,7 @@ void AccountingProcess::Accounting(PluginContext * context)
//string command= context->conf.getVsaScript() + string(" ") + string("ACTION=CLIENT_CONNECT")+string(" ")+string("USERNAME=")+user->getUsername()+string(" ")+string("COMMONNAME=")+user->getCommonname()+string(" ")+string("UNTRUSTED_IP=")+user->getCallingStationId() + string(" ") + string("UNTRUSTED_PORT=") + user->getUntrustedPort() + user->getVsaString();
if (DEBUG (context->getVerbosity()))
cerr << getTime() << "RADIUS-PLUGIN: BACKGROUND ACCT: Call vendor specific attribute script.\n";
- if(callVsaScript(context, user, 1, 0) != 0)
+ if(callVsaScript(context, user, 2, 0) != 0)
{
throw Exception("Vendor specific attribute script failed.\n");
}

0 comments on commit ffb7596

Please sign in to comment.