From f65b8886cc94cce3afef3e199b538a4263947f09 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sun, 29 Nov 2009 11:08:38 +0000 Subject: ospfd: replace route_nodes with a list It is wasteful to use route nodes for something as simple as a neighbor list. Replace with a list. --- ospfd/ospf_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_interface.h') diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h index ab0b7580..18b98cd0 100644 --- a/ospfd/ospf_interface.h +++ b/ospfd/ospf_interface.h @@ -171,7 +171,7 @@ struct ospf_interface u_int32_t output_cost; /* Acutual Interface Output Cost */ /* Neighbor information. */ - struct route_table *nbrs; /* OSPF Neighbor List */ + struct list *nbrs; /* OSPF Neighbor List */ struct ospf_neighbor *nbr_self; /* Neighbor Self */ #define DR(I) ((I)->nbr_self->d_router) #define BDR(I) ((I)->nbr_self->bd_router) -- cgit v1.2.3