From ba39197c11db085c4bc062e45fd9c74f42b41ca0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 7 Jan 2010 22:22:10 +0100 Subject: Fixes vlinks for OSPFv2. --- proto/ospf/rt.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'proto') diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index aa7245ab..4d664c46 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -473,7 +473,12 @@ link_back(struct ospf_area *oa, struct top_hash_entry *en, struct top_hash_entry tmp = ospf_hash_find(po->gr, oa->areaid, rtl->nif, rtl->id, LSA_T_NET); #endif if (tmp == par) - return 1; + { +#ifdef OSPFv2 + fol->lb = ipa_from_u32(rtl->data); +#endif + return 1; + } break; case LSART_VLNK: -- cgit v1.2.3