summaryrefslogtreecommitdiff
path: root/ripd/rip_routemap.c
diff options
context:
space:
mode:
authorwhitespace / reindent <invalid@invalid.invalid>2017-07-17 15:26:02 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-07-17 15:26:02 -0400
commitc14777c6bfd0a446c85243d3a9835054a259c276 (patch)
tree2021f7d89a6046f81ff1f44d256ecff28282568f /ripd/rip_routemap.c
parentf0735da293f2aef7e09cb67c5564d69d7260db9a (diff)
*: reindent pt. 2
w/ clang 5 * reflow comments * struct members go 1 per line * binpack algo was adjusted
Diffstat (limited to 'ripd/rip_routemap.c')
-rw-r--r--ripd/rip_routemap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c
index 7255df5e67..546efb2dad 100644
--- a/ripd/rip_routemap.c
+++ b/ripd/rip_routemap.c
@@ -347,7 +347,9 @@ static route_map_result_t route_match_tag(void *rule, struct prefix *prefix,
/* Route map commands for tag matching. */
static struct route_map_rule_cmd route_match_tag_cmd = {
- "tag", route_match_tag, route_map_rule_tag_compile,
+ "tag",
+ route_match_tag,
+ route_map_rule_tag_compile,
route_map_rule_tag_free,
};
@@ -436,7 +438,9 @@ static void route_set_metric_free(void *rule)
/* Set metric rule structure. */
static struct route_map_rule_cmd route_set_metric_cmd = {
- "metric", route_set_metric, route_set_metric_compile,
+ "metric",
+ route_set_metric,
+ route_set_metric_compile,
route_set_metric_free,
};