2003-08-11  Taisuke Sasaki <sasaki@soft.net.fujitsu.co.jp>

	* ospf6_ism.c: DR Election bug fix.
diff --git a/ospf6d/ospf6_ism.c b/ospf6d/ospf6_ism.c
index d13be12..bb14604 100644
--- a/ospf6d/ospf6_ism.c
+++ b/ospf6d/ospf6_ism.c
@@ -425,12 +425,12 @@
             }
           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;