diff options
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 4faad360..dbae585d 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -101,7 +101,7 @@ #include <stdlib.h> #include "ospf.h" -static int ospf_import_control(struct proto *P, rte **new, struct linpool *pool); +static int ospf_preexport(struct proto *P, rte **new, struct linpool *pool); static struct ea_list *ospf_make_tmp_attrs(struct rte *rt, struct linpool *pool); static void ospf_store_tmp_attrs(struct rte *rt); static void ospf_reload_routes(struct channel *C); @@ -315,7 +315,7 @@ ospf_init(struct proto_config *CF) P->rt_notify = ospf_rt_notify; P->if_notify = ospf_if_notify; P->ifa_notify = cf->ospf2 ? ospf_ifa_notify2 : ospf_ifa_notify3; - P->import_control = ospf_import_control; + P->preexport = ospf_preexport; P->reload_routes = ospf_reload_routes; P->make_tmp_attrs = ospf_make_tmp_attrs; P->store_tmp_attrs = ospf_store_tmp_attrs; @@ -434,7 +434,7 @@ ospf_disp(timer * timer) /** - * ospf_import_control - accept or reject new route from nest's routing table + * ospf_preexport - accept or reject new route from nest's routing table * @P: OSPF protocol instance * @new: the new route * @attrs: list of attributes @@ -444,7 +444,7 @@ ospf_disp(timer * timer) * import to the filters. */ static int -ospf_import_control(struct proto *P, rte **new, struct linpool *pool UNUSED) +ospf_preexport(struct proto *P, rte **new, struct linpool *pool UNUSED) { struct ospf_proto *p = (struct ospf_proto *) P; struct ospf_area *oa = ospf_main_area(p); |