[quagga-dev 7415] [PATCH] ospfd: actually add nbr to nbrs list.

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Fri Nov 27 07:18:00 GMT 2009


---
 ospfd/ospf_neighbor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ospfd/ospf_neighbor.c b/ospfd/ospf_neighbor.c
index 169a7da..c949b64 100644
--- a/ospfd/ospf_neighbor.c
+++ b/ospfd/ospf_neighbor.c
@@ -363,6 +363,7 @@ ospf_nbr_get (struct ospf_interface *oi, struct ospf_header *ospfh,
   else
     {
       nbr = ospf_nbr_add (oi, ospfh, p);
+      listnode_add(oi->nbrs, nbr);
     }
   
   nbr->router_id = ospfh->router_id;
-- 
1.6.4.4




More information about the Quagga-dev mailing list