diff options
author | Maria Matejka <mq@ucw.cz> | 2022-05-30 17:11:30 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-05-30 17:11:30 +0200 |
commit | 674587d9c84ed70151abc56003c371668079ae31 (patch) | |
tree | cc73d6aad590afb11acf24a79ddd42203abe9661 /proto/ospf | |
parent | 5051e3c4afe04aeb59abeaa3370c9e660dfa37f1 (diff) | |
parent | d8661a4397e4576ac404661b192dd99d928e7890 (diff) |
Merge commit 'd8661a4397e4576ac404661b192dd99d928e7890' into haugesund
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/ospf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index e4522d41..bb0d6aac 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -111,7 +111,7 @@ static int ospf_preexport(struct channel *C, rte *new); static void ospf_reload_routes(struct channel *C); static int ospf_rte_better(struct rte *new, struct rte *old); -static u32 ospf_rte_igp_metric(struct rte *rt); +static u32 ospf_rte_igp_metric(const rte *rt); static void ospf_disp(timer *timer); @@ -411,7 +411,7 @@ ospf_rte_better(struct rte *new, struct rte *old) } static u32 -ospf_rte_igp_metric(struct rte *rt) +ospf_rte_igp_metric(const rte *rt) { if (rt->attrs->source == RTS_OSPF_EXT2) return IGP_METRIC_UNKNOWN; |