summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_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 /zebra/zebra_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 'zebra/zebra_routemap.c')
-rw-r--r--zebra/zebra_routemap.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index 2b209613d..0176b3684 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -148,9 +148,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,
};
@@ -1169,10 +1167,7 @@ static void route_set_src_free(void *rule)
/* Set src rule structure. */
static struct route_map_rule_cmd route_set_src_cmd = {
- "src",
- route_set_src,
- route_set_src_compile,
- route_set_src_free,
+ "src", route_set_src, route_set_src_compile, route_set_src_free,
};
static int zebra_route_map_update_timer(struct thread *thread)