From 57c639f01ec6be70ac858f412d32b638a9756bed Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sat, 7 Jul 2012 17:06:12 +0200 Subject: 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 Signed-off-by: David Lamparter --- ospfd/ospf_route.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_route.h') diff --git a/ospfd/ospf_route.h b/ospfd/ospf_route.h index 17ab68e5..5742b462 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 *); -- cgit v1.2.1