1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Implements BGP 'show protocols' info details.

This commit is contained in:
Ondrej Zajicek
2010-04-07 00:19:23 +02:00
parent c429d4a4ba
commit b8113a5e92
7 changed files with 119 additions and 43 deletions

View File

@@ -152,12 +152,11 @@ static struct ospf_iface *
find_stub_src(struct ospf_area *oa, ip_addr px, int pxlen)
{
struct ospf_iface *iff;
struct ifa *addr;
WALK_LIST(iff, oa->po->iface_list)
if ((iff->type != OSPF_IT_VLINK) &&
(iff->oa == oa) &&
ipa_equal(iff->addr->px, px) &&
ipa_equal(iff->addr->prefix, px) &&
(iff->addr->pxlen == pxlen))
return iff;