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

core: build reply of core.sockets_list as an array #1187

Merged
merged 1 commit into from Jul 15, 2017

Conversation

grumvalski
Copy link
Contributor

I realized with more tests that my previous commit for core.sockets_list 38f5140 is not working. The result is returned yes as an array but inside there is still the sockets list as an object (so with multiple "socket" keys). Digging more in kamailio json lib I understood that to be considered an array the rpc result must be enclosed in "[]".
I was misled by a wrong test result, sorry for the noise.

@miconda
Copy link
Member

miconda commented Jul 15, 2017

It can be merged and backported, thanks!

@grumvalski grumvalski merged commit a545a1a into kamailio:master Jul 15, 2017
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