summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_routemap.c
diff options
context:
space:
mode:
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)