]> git.puffer.fish Git - mirror/frr.git/commit
2004-04-08 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Thu, 8 Apr 2004 07:43:45 +0000 (07:43 +0000)
committerpaul <paul>
Thu, 8 Apr 2004 07:43:45 +0000 (07:43 +0000)
commitd355bfa7806c77ec40e789dfb8226778ec7c36f5
tree2ee5a4bbf85191ac0a2a5ce2af3cacf8b68789fb
parent81b81822da6e90f9f04645d63f70ac0a5a924ff4
2004-04-08 Paul Jakma <paul@dishone.st>

        * ospf_spf.h: Add backlink field to struct vertex
        * ospf_spf.h: (ospf_vertex_new) initialise backlink
          (ospf_lsa_has_link) return index of link back to
          vertex V from candidate vertex W, or -1 if no link exists.
          (ospf_spf_next) save backlink index for candidate vertex
        * ospf_interface.c: (ospf_vl_set_params) Use the backlink index
          to determine correct address for virtual-link peers. Fall back
          to older "pick first link" method if no backlink index exists.
ChangeLog
ospfd/ospf_interface.c
ospfd/ospf_spf.c
ospfd/ospf_spf.h