mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-03 21:33:24 +00:00
Author: amir
Date: 2003-04-10 14:32:31 +0200 (Thu, 10 Apr 2003) New Revision: 212 Modified: zebra-ag/trunk/ospfd/ospf_lsa.c Log: I've fixed a small opaque lsa bug which got triggered when deleting opaque lsa of type 11. It used area->ospf->.. when area was null. This was replaced by a ospf = ospf_lookyp(); ospf->...
This commit is contained in:
parent
f894c3ad34
commit
e05fba4387
@ -1,3 +1,8 @@
|
|||||||
|
2003-04-13 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
|
* Amir: Opaque LSA bug fix for deletion of Type11's
|
||||||
|
* configure.ac: use --localstatedir for Unix sockets
|
||||||
|
|
||||||
2003-04-04 Paul Jakma <paul@dishone.st>
|
2003-04-04 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
* Sync to Zebra CVS
|
* Sync to Zebra CVS
|
||||||
|
@ -2678,6 +2678,9 @@ struct ospf_lsa *
|
|||||||
ospf_lsa_lookup (struct ospf_area *area, u_int32_t type,
|
ospf_lsa_lookup (struct ospf_area *area, u_int32_t type,
|
||||||
struct in_addr id, struct in_addr adv_router)
|
struct in_addr id, struct in_addr adv_router)
|
||||||
{
|
{
|
||||||
|
struct ospf *ospf = ospf_lookup();
|
||||||
|
assert(ospf);
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case OSPF_ROUTER_LSA:
|
case OSPF_ROUTER_LSA:
|
||||||
@ -2697,7 +2700,7 @@ ospf_lsa_lookup (struct ospf_area *area, u_int32_t type,
|
|||||||
#ifdef HAVE_OPAQUE_LSA
|
#ifdef HAVE_OPAQUE_LSA
|
||||||
case OSPF_OPAQUE_AS_LSA:
|
case OSPF_OPAQUE_AS_LSA:
|
||||||
#endif /* HAVE_OPAQUE_LSA */
|
#endif /* HAVE_OPAQUE_LSA */
|
||||||
return ospf_lsdb_lookup_by_id (area->ospf->lsdb, type, id, adv_router);
|
return ospf_lsdb_lookup_by_id (ospf->lsdb, type, id, adv_router);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user