]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_lsa.h
ospfd: Compile fix for opaque support
authorPaul Jakma <paul@quagga.net>
Tue, 22 Mar 2011 15:23:55 +0000 (15:23 +0000)
committerPaul Jakma <paul@quagga.net>
Tue, 22 Mar 2011 15:23:55 +0000 (15:23 +0000)
commitd71ea65270408a45e4bec036671ec73b24b994b4
tree8690d8a3e447ececf09d7a760af66703b7268f4d
parent36de261b57eab7a7539fb6527a1f02f3898cbafd
ospfd: Compile fix for opaque support

* ospfd: Refresher logic cleanup broke OSPF opaque, which does its own thing
  with regard to refresher logic and which also, in the protocol, requires
  implementations to keep state of which OI an LSA is received on (rather
  than providing information in the LSA to allow it to be looked up - as
  other LSAs requiring such assocation were careful to do).
* ospf_lsa.h: (struct ospf_interface) Add back the pointer to oi, but only
  for type-9 now.
* ospf_nsm.c: (ospf_db_summary_add) check the oi actually exists first -
  doesn't obviate the need for opaque to ensure oi pointers get cleaned up
  when ospf_interfaces disappear.
* ospf_opaque.{c,h}: (ospf_opaque_functab,ospf_opaque_lsa_refresh) Refresher
  LSA functions now need to return the LSA to the general refresh logic,
  to indicate whether the LSA was refreshed.
ospfd/ospf_lsa.h
ospfd/ospf_nsm.c
ospfd/ospf_opaque.c
ospfd/ospf_opaque.h