X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fsi%2Fsrc%2Fsr_si_static.c;fp=src%2Frmr%2Fsi%2Fsrc%2Fsr_si_static.c;h=69e69e9f5154e4422fbdb416fe2dbad6f7380293;hb=d762b36427051dc6d1a7e64b44df4334f1ad9dbd;hp=798fe261c6d2a54a50e1ba6fddb782f5506ce77c;hpb=be2894e8df2a427f230e0c592ee172471ab1df3a;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/si/src/sr_si_static.c b/src/rmr/si/src/sr_si_static.c index 798fe26..69e69e9 100644 --- a/src/rmr/si/src/sr_si_static.c +++ b/src/rmr/si/src/sr_si_static.c @@ -126,6 +126,7 @@ static inline void insert_mlen( uint32_t len, char* buf ) { blen++; *blen = htonl( len ); // new systems want a converted integer + memset( &buf[TP_SZFIELD_LEN], 0, 4 ); // clear to prevent future conversion issues buf[TP_SZFIELD_LEN-1] = TP_SZ_MARKER; // marker to flag this is generated by a new message }