summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-03 22:31:07 +0000
committerOndrej Filip <feela@network.cz>2000-04-03 22:31:07 +0000
commit8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21 (patch)
treecfd9083a1d32d7c77fd7e26a8eb83c84322ec9ea /proto/ospf/ospf.h
parent394acced118df7360e480920c65ca260c5b8c44f (diff)
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 c2db08d1..ee94f10d 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);