]> git.proxmox.com Git - mirror_frr.git/commitdiff
2003-08-11 Taisuke Sasaki <sasaki@soft.net.fujitsu.co.jp>
authorpaul <paul>
Tue, 12 Aug 2003 05:25:49 +0000 (05:25 +0000)
committerpaul <paul>
Tue, 12 Aug 2003 05:25:49 +0000 (05:25 +0000)
* ospf6_ism.c: DR Election bug fix.

ospf6d/ChangeLog
ospf6d/ospf6_ism.c

index 63052c7c274b9b31f625118af27802cb578fc5d9..f792596e2558e41a1a000fe5d69c72b36096e612 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-11  Taisuke Sasaki <sasaki@soft.net.fujitsu.co.jp>
+
+       * ospf6_ism.c: DR Election bug fix.
+       
 2003-05-18 Hasso Tepper <hasso@estpak.ee>
 
        * ospf6_{dump,interface,zebra}.c,ospf6d.c: show router and interface
index d13be127f6b961c42ba5ee1c31007929dcc917a8..bb14604eb8a64551195d9740ece1679e96c2cfd3 100644 (file)
@@ -425,12 +425,12 @@ step_two:
             }
           else /* equal, case of tie */
             {
-              if (nbpi->router_id > nbpj->router_id)
+              if (ntohl (nbpi->router_id) > ntohl (nbpj->router_id))
                 {
                   list_delete_node (candidate_list, j);
                   continue;
                 }
-              else if (nbpi->router_id < nbpj->router_id)
+              else if (ntohl (nbpi->router_id) < ntohl (nbpj->router_id))
                 {
                   list_delete_node (candidate_list, i);
                   continue;