summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-01-07 22:22:10 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-01-07 22:22:10 +0100
commitba39197c11db085c4bc062e45fd9c74f42b41ca0 (patch)
tree25cd4aaaf9b36c74c3d1d3f0420bd2ec4faa4897
parent29bfbae7936beb401d944daf0f0106aa8a92ef50 (diff)
downloadbird-ba39197c11db085c4bc062e45fd9c74f42b41ca0.tar
bird-ba39197c11db085c4bc062e45fd9c74f42b41ca0.zip
Fixes vlinks for OSPFv2.
-rw-r--r--proto/ospf/rt.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index aa7245a..4d664c4 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: