Diff for /embedaddon/quagga/ospfd/ospf_ism.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:40
Line 203  ospf_dr_election (struct ospf_interface *oi) Line 203  ospf_dr_election (struct ospf_interface *oi)
   struct in_addr old_dr, old_bdr;    struct in_addr old_dr, old_bdr;
   int old_state, new_state;    int old_state, new_state;
   struct list *el_list;    struct list *el_list;
   struct ospf_neighbor *dr, *bdr;  
   
   /* backup current values. */    /* backup current values. */
   old_dr = DR (oi);    old_dr = DR (oi);
Line 216  ospf_dr_election (struct ospf_interface *oi) Line 215  ospf_dr_election (struct ospf_interface *oi)
   ospf_dr_eligible_routers (oi->nbrs, el_list);    ospf_dr_eligible_routers (oi->nbrs, el_list);
   
   /* First election of DR and BDR. */    /* First election of DR and BDR. */
  bdr = ospf_elect_bdr (oi, el_list);  ospf_elect_bdr (oi, el_list);
  dr = ospf_elect_dr (oi, el_list);  ospf_elect_dr (oi, el_list);
   
   new_state = ospf_ism_state (oi);    new_state = ospf_ism_state (oi);
   

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


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