diff options
author | hasso <hasso> | 2004-08-25 09:10:37 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-08-25 09:10:37 +0000 |
commit | 17948443312859cfa5c11afa70671e0658d0e1fa (patch) | |
tree | f6fcec1c77b9c67f295cda13550ce63ec7cb51a2 /ospf6d/ospf6_asbr.c | |
parent | 1b3b0be0faa9ac4b0511dc4af134d06f2746795b (diff) | |
download | quagga-17948443312859cfa5c11afa70671e0658d0e1fa.tar.bz2 quagga-17948443312859cfa5c11afa70671e0658d0e1fa.tar.xz |
SVN revisions 935-940 merge from Zebra CVS.
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r-- | ospf6d/ospf6_asbr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index 7884a6bf..3352465c 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) |