From 283f8ffe840b3eba9d55e6bf5affdf6fd9d998e1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 9 Jul 2010 20:59:35 +0200 Subject: update to sualibrary-0.1.5 released 2006-10-10 * In addition to 1.4 Contains : * Correct some issues with newer GCC compilers. * Correct some bugs * Compiles and runs on Linux, FreeBSD, Max OS X .... * Tested on IPv4 and IPV6 networks * interoperable with other SUA implementations * corresponds to RFC3868 * requires SCTP implementation sctplib-1.0.5 from www.sctp.de --- sualibrary/sua/sua_cl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sualibrary/sua/sua_cl.cpp') diff --git a/sualibrary/sua/sua_cl.cpp b/sualibrary/sua/sua_cl.cpp index 3120ac5..dbe8c50 100644 --- a/sualibrary/sua/sua_cl.cpp +++ b/sualibrary/sua/sua_cl.cpp @@ -120,7 +120,7 @@ int sua_send_Message( signed int sctp_assoc_id, sctp_stream_id, (unsigned char *) databuf, datalen, - SUA_PPI, + htonl(SUA_PPI), SCTP_USE_PRIMARY, /* replace in future with sctp_loadshare*/ SCTP_NO_CONTEXT, SCTP_INFINITE_LIFETIME, sctp_delivery_type, -- cgit v1.2.3