diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2012-07-07 17:06:12 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2012-07-25 18:07:37 +0200 |
commit | 57c639f01ec6be70ac858f412d32b638a9756bed (patch) | |
tree | cd415e8d098b827d69dcfdf3d3b22f5df11cc4c9 /ospfd/ospf_route.h | |
parent | ospfd: Optimize and improve SPF nexthop calculation (diff) | |
download | frr-57c639f01ec6be70ac858f412d32b638a9756bed.tar.xz frr-57c639f01ec6be70ac858f412d32b638a9756bed.zip |
ospf_spf_process_stubs: use LSA pos to find OSFP interface
This is better than a prefix lookup as prefixes may not be
unique, that is, the same prefix can exist on several interfaces.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_route.h')
-rw-r--r-- | ospfd/ospf_route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_route.h b/ospfd/ospf_route.h index 17ab68e5d..5742b462c 100644 --- a/ospfd/ospf_route.h +++ b/ospfd/ospf_route.h @@ -141,7 +141,7 @@ extern void ospf_intra_add_transit (struct route_table *, struct vertex *, extern void ospf_intra_add_stub (struct route_table *, struct router_lsa_link *, struct vertex *, struct ospf_area *, - int parent_is_root); + int parent_is_root, int); extern int ospf_route_cmp (struct ospf *, struct ospf_route *, struct ospf_route *); |