aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_cl.cpp
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-09 20:59:35 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-09 20:59:35 +0200
commit283f8ffe840b3eba9d55e6bf5affdf6fd9d998e1 (patch)
tree2486b9b7c6925456811f8215d5e3a90a971c5013 /sualibrary/sua/sua_cl.cpp
parent3b3b534da81fbe127cb704918eb5974156686725 (diff)
update to sualibrary-0.1.5 released 2006-10-10HEADmaster
* 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
Diffstat (limited to 'sualibrary/sua/sua_cl.cpp')
-rw-r--r--sualibrary/sua/sua_cl.cpp2
1 files changed, 1 insertions, 1 deletions
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,