summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorpaul <paul>2003-08-12 05:25:49 +0000
committerpaul <paul>2003-08-12 05:25:49 +0000
commitf1c61a0a5b5c4cfd0125f050568b8c1fb9953a96 (patch)
treef9fcb3bedf093f76340f5484e393998fa133fb18 /ospf6d
parenta91bb910613690839b2a2e313a8e74dd04d449f0 (diff)
2003-08-11 Taisuke Sasaki <sasaki@soft.net.fujitsu.co.jp>
* ospf6_ism.c: DR Election bug fix.
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ChangeLog4
-rw-r--r--ospf6d/ospf6_ism.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ospf6d/ChangeLog b/ospf6d/ChangeLog
index 63052c7c..f792596e 100644
--- a/ospf6d/ChangeLog
+++ b/ospf6d/ChangeLog
@@ -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
diff --git a/ospf6d/ospf6_ism.c b/ospf6d/ospf6_ism.c
index d13be127..bb14604e 100644
--- a/ospf6d/ospf6_ism.c
+++ b/ospf6d/ospf6_ism.c
@@ -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;