summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-04-07 00:19:23 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-04-07 00:19:23 +0200
commitb8113a5e92cb19a0910041d5708f4eafeb713b54 (patch)
treec4882fd498ecd33c12363272368277ca239466da /proto/ospf/rt.c
parentc429d4a4ba2cc8778634461e8adea33e0f0ae022 (diff)
downloadbird-b8113a5e92cb19a0910041d5708f4eafeb713b54.tar
bird-b8113a5e92cb19a0910041d5708f4eafeb713b54.zip
Implements BGP 'show protocols' info details.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r--proto/ospf/rt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 5c0b3fa..c3798e7 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -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;