summaryrefslogtreecommitdiffstats
path: root/ripd/ripd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r--ripd/ripd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index d9b38bba8..eb6c8f743 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -454,9 +454,8 @@ static void rip_rte_process(struct rte *rte, struct sockaddr_in *from,
/* Get back the object */
rte->nexthop = newinfo.nexthop_out;
rte->tag = htons(newinfo.tag_out); /* XXX */
- rte->metric =
- newinfo.metric_out; /* XXX: the routemap uses the
- metric_out field */
+ rte->metric = newinfo.metric_out; /* XXX: the routemap uses the
+ metric_out field */
}
/* Once the entry has been validated, update the metric by