summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_routemap.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-22 14:52:33 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-22 14:52:33 +0200
commit9d303b37d73b8fe2bef310d8d9ca1acad23c2501 (patch)
treebbe78c595bd8f42b76322df2a37cf81f60c08a6a /ospfd/ospf_routemap.c
parent*: add git-reindent-branch.py (diff)
downloadfrr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.tar.xz
frr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.zip
Revert "*: reindent pt. 2"
This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276. clang 5 is not widely available enough for people to indent with. This is particularly problematic when rebasing/adjusting branches. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_routemap.c')
-rw-r--r--ospfd/ospf_routemap.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/ospfd/ospf_routemap.c b/ospfd/ospf_routemap.c
index 80fdbf215..547e1e8f5 100644
--- a/ospfd/ospf_routemap.c
+++ b/ospfd/ospf_routemap.c
@@ -332,9 +332,7 @@ 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,
};
@@ -392,9 +390,7 @@ static void route_set_metric_free(void *rule)
/* Set metric rule structure. */
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,
};
@@ -446,9 +442,7 @@ static void route_set_metric_type_free(void *rule)
/* Set metric rule structure. */
struct route_map_rule_cmd route_set_metric_type_cmd = {
- "metric-type",
- route_set_metric_type,
- route_set_metric_type_compile,
+ "metric-type", route_set_metric_type, route_set_metric_type_compile,
route_set_metric_type_free,
};
@@ -471,9 +465,7 @@ static route_map_result_t route_set_tag(void *rule, struct prefix *prefix,
/* Route map commands for tag set. */
static struct route_map_rule_cmd route_set_tag_cmd = {
- "tag",
- route_set_tag,
- route_map_rule_tag_compile,
+ "tag", route_set_tag, route_map_rule_tag_compile,
route_map_rule_tag_free,
};