summaryrefslogtreecommitdiff
path: root/proto/babel/babel.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-05-30 17:11:30 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-30 17:11:30 +0200
commit674587d9c84ed70151abc56003c371668079ae31 (patch)
treecc73d6aad590afb11acf24a79ddd42203abe9661 /proto/babel/babel.c
parent5051e3c4afe04aeb59abeaa3370c9e660dfa37f1 (diff)
parentd8661a4397e4576ac404661b192dd99d928e7890 (diff)
Merge commit 'd8661a4397e4576ac404661b192dd99d928e7890' into haugesund
Diffstat (limited to 'proto/babel/babel.c')
-rw-r--r--proto/babel/babel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/babel/babel.c b/proto/babel/babel.c
index f19a2e0f..eaebdb83 100644
--- a/proto/babel/babel.c
+++ b/proto/babel/babel.c
@@ -2344,7 +2344,7 @@ babel_rte_better(struct rte *new, struct rte *old)
}
static u32
-babel_rte_igp_metric(struct rte *rt)
+babel_rte_igp_metric(const rte *rt)
{
return ea_get_int(rt->attrs->eattrs, &ea_babel_metric, BABEL_INFINITY);
}