summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-04 00:31:07 +0200
committerOndrej Filip <feela@network.cz>2000-04-04 00:31:07 +0200
commit8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21 (patch)
treecfd9083a1d32d7c77fd7e26a8eb83c84322ec9ea /proto/ospf/ospf.h
parent394acced118df7360e480920c65ca260c5b8c44f (diff)
downloadbird-8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21.tar
bird-8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21.zip
Minor change in area list. Now I use MJ's lists.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index c2db08d..ee94f10 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -315,7 +315,7 @@ struct ospf_neighbor
#define INM_LLDOWN 12 /* Line down */
struct ospf_area {
- struct ospf_area *next;
+ node n;
u32 areaid;
struct top_graph *gr; /* LSA graph */
slist lsal; /* List of all LSA's */
@@ -326,8 +326,8 @@ struct ospf_area {
struct proto_ospf {
struct proto proto;
list iface_list; /* Interfaces we really use */
+ list area_list;
int areano; /* Number of area I belong to */
- struct ospf_area *firstarea;
};
static int ospf_start(struct proto *p);