Diff for /embedaddon/quagga/ospf6d/ospf6_flood.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 17:26:12 version 1.1.1.2, 2013/07/21 23:54:39
Line 733  ospf6_receive_lsa (struct ospf6_neighbor *from, Line 733  ospf6_receive_lsa (struct ospf6_neighbor *from,
 {  {
   struct ospf6_lsa *new = NULL, *old = NULL, *rem = NULL;    struct ospf6_lsa *new = NULL, *old = NULL, *rem = NULL;
   int ismore_recent;    int ismore_recent;
   unsigned short cksum;  
   int is_debug = 0;    int is_debug = 0;
   
   ismore_recent = 1;    ismore_recent = 1;
Line 751  ospf6_receive_lsa (struct ospf6_neighbor *from, Line 750  ospf6_receive_lsa (struct ospf6_neighbor *from,
     }      }
   
   /* (1) LSA Checksum */    /* (1) LSA Checksum */
  cksum = ntohs (new->header->checksum);  if (! ospf6_lsa_checksum_valid (new->header))
  if (ntohs (ospf6_lsa_checksum (new->header)) != cksum) 
     {      {
       if (is_debug)        if (is_debug)
         zlog_debug ("Wrong LSA Checksum, discard");          zlog_debug ("Wrong LSA Checksum, discard");

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


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