summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_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 /eigrpd/eigrp_routemap.c
parentdceb5f8ac71a839389786f5040a50b8feec30156 (diff)
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 'eigrpd/eigrp_routemap.c')
-rw-r--r--eigrpd/eigrp_routemap.c31
1 files changed, 10 insertions, 21 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c
index 0823201fec..b645ed1987 100644
--- a/eigrpd/eigrp_routemap.c
+++ b/eigrpd/eigrp_routemap.c
@@ -644,9 +644,7 @@ 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,
};
@@ -778,8 +776,7 @@ DEFUN (no_match_metric,
}
ALIAS(no_match_metric, no_match_metric_val_cmd,
- "no match metric <0-4294967295>",
- NO_STR MATCH_STR
+ "no match metric <0-4294967295>", NO_STR MATCH_STR
"Match metric of route\n"
"Metric value\n")
@@ -842,8 +839,7 @@ DEFUN (no_match_ip_next_hop,
}
ALIAS(no_match_ip_next_hop, no_match_ip_next_hop_val_cmd,
- "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
- NO_STR MATCH_STR IP_STR
+ "no match ip next-hop (<1-199>|<1300-2699>|WORD)", NO_STR MATCH_STR IP_STR
"Match next-hop address of route\n"
"IP access-list number\n"
"IP access-list number (expanded range)\n"
@@ -881,8 +877,7 @@ DEFUN (no_match_ip_next_hop_prefix_list,
ALIAS(no_match_ip_next_hop_prefix_list,
no_match_ip_next_hop_prefix_list_val_cmd,
- "no match ip next-hop prefix-list WORD",
- NO_STR MATCH_STR IP_STR
+ "no match ip next-hop prefix-list WORD", NO_STR MATCH_STR IP_STR
"Match next-hop address of route\n"
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
@@ -916,8 +911,7 @@ DEFUN (no_match_ip_address,
}
ALIAS(no_match_ip_address, no_match_ip_address_val_cmd,
- "no match ip address (<1-199>|<1300-2699>|WORD)",
- NO_STR MATCH_STR IP_STR
+ "no match ip address (<1-199>|<1300-2699>|WORD)", NO_STR MATCH_STR IP_STR
"Match address of route\n"
"IP access-list number\n"
"IP access-list number (expanded range)\n"
@@ -954,8 +948,7 @@ DEFUN (no_match_ip_address_prefix_list,
}
ALIAS(no_match_ip_address_prefix_list, no_match_ip_address_prefix_list_val_cmd,
- "no match ip address prefix-list WORD",
- NO_STR MATCH_STR IP_STR
+ "no match ip address prefix-list WORD", NO_STR MATCH_STR IP_STR
"Match address of route\n"
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
@@ -1000,8 +993,7 @@ DEFUN (set_metric,
return eigrp_route_set_add(vty, vty->index, "metric", argv[0]);
}
-ALIAS(set_metric, set_metric_addsub_cmd, "set metric <+/-metric>",
- SET_STR
+ALIAS(set_metric, set_metric_addsub_cmd, "set metric <+/-metric>", SET_STR
"Metric value for destination routing protocol\n"
"Add or subtract metric\n")
@@ -1019,8 +1011,7 @@ DEFUN (no_set_metric,
}
ALIAS(no_set_metric, no_set_metric_val_cmd,
- "no set metric (<0-4294967295>|<+/-metric>)",
- NO_STR SET_STR
+ "no set metric (<0-4294967295>|<+/-metric>)", NO_STR SET_STR
"Metric value for destination routing protocol\n"
"Metric value\n"
"Add or subtract metric\n")
@@ -1061,8 +1052,7 @@ DEFUN (no_set_ip_nexthop,
}
ALIAS(no_set_ip_nexthop, no_set_ip_nexthop_val_cmd,
- "no set ip next-hop A.B.C.D",
- NO_STR SET_STR IP_STR
+ "no set ip next-hop A.B.C.D", NO_STR SET_STR IP_STR
"Next hop address\n"
"IP address of next hop\n")
@@ -1089,8 +1079,7 @@ DEFUN (no_set_tag,
return eigrp_route_set_delete(vty, vty->index, "tag", argv[0]);
}
-ALIAS(no_set_tag, no_set_tag_val_cmd, "no set tag <0-65535>",
- NO_STR SET_STR
+ALIAS(no_set_tag, no_set_tag_val_cmd, "no set tag <0-65535>", NO_STR SET_STR
"Tag value for routing protocol\n"
"Tag value\n")