]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_neighbor.c
2004-05-05 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Wed, 5 May 2004 15:27:15 +0000 (15:27 +0000)
committerpaul <paul>
Wed, 5 May 2004 15:27:15 +0000 (15:27 +0000)
commitd3f0d6210119ff520c286c89bd614838cc6cbf8e
treedce792feac0f39ebeb463e41224f419258e6a81d
parent239389ba30e21de22e6c2dd708f44ece11b5807a
2004-05-05 Paul Jakma <paul@dishone.st>

        * ospf_packet.c:  (ospf_associate_packet_vl) cleanup, move
          some of the checks up to ospf_read, return either a
          virtual link oi, or NULL.
          (ospf_read) Cleanup, make it responsible for checks. Remove
          the nbr lookup - moved to ospf_neighbor. Adjust all nbr
          lookups to use new wrappers exported by ospf_neighbor.
        * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
        * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
          neighbour table by router-id for virtual-link ospf_interfaces,
          not by peer_addr (which breaks for asymmetric vlinks)
          (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
          above.
ospfd/ChangeLog
ospfd/ospf_neighbor.c
ospfd/ospf_neighbor.h
ospfd/ospf_packet.c