This is a simple test for poi in sccp_create_sccp_addr.
I also try to test gti, but I always get Segmentation fault. I use gdb and
find it stops in line 512. I can print the value of sock->gti_len, i don't
know what's wrong.
512 gti = msgb_put(msg, sock->gti_len);
513 memcpy(gti, sock->gti, sock->gti_len);
Wenbin WU
Uppsala University, Sweden
On Wed, Nov 17, 2010 at 8:33 AM, Wenbin Wu <wenbin87(a)gmail.com> wrote:
Hi Holger,
I will try to do this next week, since I have something to do this week.
Thanks for noticing.
On 2010-11-16, at 下午9:02, Holger Hans Peter Freyther wrote:
On 10/21/2010 10:23 AM, Wenbin Wu wrote:
Hello,
Hi,
it would be nice if you could test the latest version of libosmo-sccp. I
have
made the sccp_create_addr public[1], I have
changed the creation of the
address to set the size correctly[2] and I have used the return value of
the
sccp_create_addr[3] to update the variable_called
and such.
The added test case in [2] is still only checking address creation with
only a
SSN. It would be nice if any of you in sweden
could add a test case for
POI.
I hope you will be able to try this.
z.
[1]
http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=ec5409ca4f46c30…
[2]
http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=13cd1199b92b982…
[3]
http://git.osmocom.org/gitweb?p=libosmo-sccp.git;a=commit;h=6ecf8104c0e2fd6…