summaryrefslogtreecommitdiff
path: root/proto/rip
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/rip
parent5051e3c4afe04aeb59abeaa3370c9e660dfa37f1 (diff)
parentd8661a4397e4576ac404661b192dd99d928e7890 (diff)
Merge commit 'd8661a4397e4576ac404661b192dd99d928e7890' into haugesund
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 03e0f4fb..739fe96c 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -1103,7 +1103,7 @@ rip_rte_better(struct rte *new, struct rte *old)
}
static u32
-rip_rte_igp_metric(struct rte *rt)
+rip_rte_igp_metric(const rte *rt)
{
return ea_get_int(rt->attrs->eattrs, &ea_rip_metric, IGP_METRIC_UNKNOWN);
}