Diff for /embedaddon/mpd/src/ecp_dese.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2016/11/01 09:56:12 version 1.1.1.3, 2021/03/17 00:39:23
Line 104  DesConfigure(Bund b) Line 104  DesConfigure(Bund b)
 static int  static int
 DesSubtractBloat(Bund b, int size)  DesSubtractBloat(Bund b, int size)
 {  {
     (void)b;
   size -= DES_OVERHEAD; /* reserve space for header */    size -= DES_OVERHEAD; /* reserve space for header */
   size &= ~0x7;    size &= ~0x7;
   return(size);    return(size);
Line 302  DesBuildConfigReq(Bund b, u_char *cp) Line 303  DesBuildConfigReq(Bund b, u_char *cp)
   EcpState      const ecp = &b->ecp;    EcpState      const ecp = &b->ecp;
   DesInfo       const des = &ecp->des;    DesInfo       const des = &ecp->des;
   
  ((u_int32_t *) des->xmit_ivec)[0] = random();  ((u_int32_t *)(void *) des->xmit_ivec)[0] = random();
  ((u_int32_t *) des->xmit_ivec)[1] = random();  ((u_int32_t *)(void *) des->xmit_ivec)[1] = random();
   return(FsmConfValue(cp, ECP_TY_DESE, 8, des->xmit_ivec));    return(FsmConfValue(cp, ECP_TY_DESE, 8, des->xmit_ivec));
 }  }
   

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>