summaryrefslogtreecommitdiffstats
path: root/ripngd/ripngd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r--ripngd/ripngd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index 874c42e7e..2883698f4 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -742,8 +742,9 @@ static void ripng_route_process(struct rte *rte, struct sockaddr_in6 *from,
}
}
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
@@ -2717,9 +2718,7 @@ static int ripng_config_write(struct vty *vty)
/* RIPng node structure. */
static struct cmd_node cmd_ripng_node = {
- RIPNG_NODE,
- "%s(config-router)# ",
- 1,
+ RIPNG_NODE, "%s(config-router)# ", 1,
};
static void ripng_distribute_update(struct distribute *dist)