diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-09 10:50:38 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-03-09 10:50:38 +0100 |
commit | ff47cd80dd04bc11692248a40cbf52ee8d351064 (patch) | |
tree | ef64550e00c6610e55a2d0f9f1ebf71e93572f78 /proto/ospf/ospf.c | |
parent | 9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (diff) | |
parent | d5a32563df1653952937117133f09143929ff0c2 (diff) |
Merge commit 'd5a32563' into haugesund
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index ebebf0ff..48e078ed 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -107,7 +107,7 @@ #include <stdlib.h> #include "ospf.h" -static int ospf_preexport(struct proto *P, rte **new, struct linpool *pool); +static int ospf_preexport(struct proto *P, rte *new); static void ospf_make_tmp_attrs(struct rte *rt, struct linpool *pool); static void ospf_store_tmp_attrs(struct rte *rt, struct linpool *pool); static void ospf_reload_routes(struct channel *C); @@ -484,11 +484,10 @@ ospf_disp(timer * timer) * import to the filters. */ static int -ospf_preexport(struct proto *P, rte **new, struct linpool *pool UNUSED) +ospf_preexport(struct proto *P, rte *e) { struct ospf_proto *p = (struct ospf_proto *) P; struct ospf_area *oa = ospf_main_area(p); - rte *e = *new; /* Reject our own routes */ if (e->attrs->src->proto == P) |