Diff for /embedaddon/quagga/bgpd/bgp_community.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/07/21 23:54:37 version 1.1.1.3, 2016/11/02 10:09:10
Line 78  community_del_val (struct community *com, u_int32_t *v Line 78  community_del_val (struct community *com, u_int32_t *v
           c = com->size -i -1;            c = com->size -i -1;
   
           if (c > 0)            if (c > 0)
            memcpy (com->val + i, com->val + (i + 1), c * sizeof (*val));            memmove (com->val + i, com->val + (i + 1), c * sizeof (*val));
   
           com->size--;            com->size--;
   
Line 144  community_include (struct community *com, u_int32_t va Line 144  community_include (struct community *com, u_int32_t va
   return 0;    return 0;
 }  }
   
static u_int32_tu_int32_t
 community_val_get (struct community *com, int i)  community_val_get (struct community *com, int i)
 {  {
   u_char *p;    u_char *p;

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


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