aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_cl.cpp
diff options
context:
space:
mode:
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,