diff options
-rw-r--r-- | ospf6d/ChangeLog | 4 | ||||
-rw-r--r-- | ospf6d/ospf6_ism.c | 4 |
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; |