summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_asbr.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-08-25 11:10:37 +0200
committerhasso <hasso>2004-08-25 11:10:37 +0200
commitccb59b11047c71430eb55ed58eda94865bab20c8 (patch)
treec135d58534331ff4fd04223f512d317dbd4c8ed8 /ospf6d/ospf6_asbr.c
parent2004-08-23 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-ccb59b11047c71430eb55ed58eda94865bab20c8.tar.xz
frr-ccb59b11047c71430eb55ed58eda94865bab20c8.zip
SVN revisions 935-940 merge from Zebra CVS.
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r--ospf6d/ospf6_asbr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 7884a6bf6..3352465cf 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -192,11 +192,8 @@ ospf6_asbr_lsa_add (struct ospf6_lsa *lsa)
return;
}
- asbr_id.family = AF_INET;
- asbr_id.prefixlen = 32;
- asbr_id.u.prefix4.s_addr = lsa->header->adv_router;
+ ospf6_linkstate_prefix (lsa->header->adv_router, htonl (0), &asbr_id);
asbr_entry = ospf6_route_lookup (&asbr_id, ospf6->brouter_table);
-
if (asbr_entry == NULL)
{
if (IS_OSPF6_DEBUG_ASBR)