Cleanup of BuildAndSendULRRCMessageTransfer and BuildAndSendRRCSetupReq
[o-du/l2.git] / src / cm / lsctp.c
index 46ce345..01d44e9 100644 (file)
@@ -18,6 +18,7 @@
 
 /* This file contains DU APP and SCTP interface functions */
 
+#include "du_mgr.h"
 #include "du_sctp.h"
 
 
@@ -51,7 +52,7 @@ S16 cmPkSctpNtfy(Pst *pst, CmInetSctpNotification *ntfy)
    if(ntfy->header.nType == CM_INET_SCTP_ASSOC_CHANGE)
    {
       SPkU16(ntfy->u.assocChange.state, mBuf);
-      SPkU16(ntfy->u.assocChange.assocId, mBuf);
+      SPkU32(ntfy->u.assocChange.assocId, mBuf);
    }
    SPkU16(ntfy->header.nType, mBuf);
 
@@ -89,7 +90,7 @@ S16 cmUnpkSctpNtfy(SctpNtfy func, Pst *pst, Buffer *mBuf)
    SUnpkU16(&(ntfy.header.nType), mBuf);
    if(ntfy.header.nType == CM_INET_SCTP_ASSOC_CHANGE)
    {
-      SUnpkU16(&(ntfy.u.assocChange.assocId), mBuf);
+      SUnpkU32(&(ntfy.u.assocChange.assocId), mBuf);
       SUnpkU16(&(ntfy.u.assocChange.state), mBuf);
    }