summaryrefslogtreecommitdiff
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-12-07 23:35:39 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-12-07 23:35:39 +0100
commit57c574d82a44d10143aba7aaea6d1384d850c079 (patch)
tree095e00deaeedd0907652dd2e6a01f40968281bde /proto/ospf/topology.c
parent9852f81064a38d35ff1bd5cc9fab7fc33926c83c (diff)
Multipath support for OSPF
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 51e96c7f..e604bf87 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -1674,14 +1674,12 @@ ospf_hash_get(struct top_graph *f, u32 domain, u32 lsa, u32 rtr, u32 type)
e = sl_alloc(f->hash_slab);
e->color = OUTSPF;
e->dist = LSINFINITY;
- e->nhi = NULL;
- e->nh = IPA_NONE;
+ e->nhs = NULL;
e->lb = IPA_NONE;
e->lsa.id = lsa;
e->lsa.rt = rtr;
e->lsa.type = type;
e->lsa_body = NULL;
- e->nhi = NULL;
e->domain = domain;
e->next = *ee;
*ee = e;