diff options
author | paul <paul> | 2004-05-05 15:27:15 +0000 |
---|---|---|
committer | paul <paul> | 2004-05-05 15:27:15 +0000 |
commit | d3f0d6210119ff520c286c89bd614838cc6cbf8e (patch) | |
tree | dce792feac0f39ebeb463e41224f419258e6a81d /zebra/main.c | |
parent | 239389ba30e21de22e6c2dd708f44ece11b5807a (diff) |
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.
Diffstat (limited to 'zebra/main.c')
0 files changed, 0 insertions, 0 deletions