From: Ondrej Zajicek Date: Thu, 7 Jan 2010 21:22:10 +0000 (+0100) Subject: Fixes vlinks for OSPFv2. X-Git-Tag: v1.2.0~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba39197c11db085c4bc062e45fd9c74f42b41ca0;p=thirdparty%2Fbird.git Fixes vlinks for OSPFv2. --- diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index aa7245ab1..4d664c468 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: