Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acc_radius : more logging for acc_radius module #351

Merged
merged 2 commits into from Oct 2, 2015

Conversation

ycaner06
Copy link
Contributor

@ycaner06 ycaner06 commented Oct 2, 2015

added more log about radius result. it makes better to understand problem. i checked freeradiusclient.h and radiusclient-ng.h to have all defined variables.

added more log about radius result. it makes better to understand problem. i checked freeradiusclient.h and radiusclient-ng.h to have all defined variables.
@miconda
Copy link
Member

miconda commented Oct 2, 2015

In my opinion there should be also a last 'else' branch just in case any of those library introduce a return code that you don't handle right now. You can say 'unknown response code' and print the value of the response code along with the message. You can add an additional patch for it to this pull request.

@ycaner06
Copy link
Contributor Author

ycaner06 commented Oct 2, 2015

Hmm. I missed that one, soryy for that . i added else branch.
Thanks.

miconda added a commit that referenced this pull request Oct 2, 2015
acc_radius : more logging for acc_radius module
@miconda miconda merged commit bff0a08 into kamailio:master Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants