X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Flsctp.c;h=01d44e9f5d2feac2cd129b36abe082dbfef67619;hb=aa526133f1f94ca507ebb3f2eeab26afd3ad8821;hp=46ce3458bda0e2030b2340648d153a1090f902a7;hpb=8660dd47a5ef27b62300fabf6b027852f1d5d026;p=o-du%2Fl2.git diff --git a/src/cm/lsctp.c b/src/cm/lsctp.c index 46ce3458b..01d44e9f5 100644 --- a/src/cm/lsctp.c +++ b/src/cm/lsctp.c @@ -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); }