diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-11-03 08:54:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-03 08:54:09 -0400 |
| commit | d7cde18c63c4eef83e12f562aa025cf1dbeaee05 (patch) | |
| tree | 591e68540bb026cfe9f212a69c150bfcfa8bbf36 /ospf6d/ospf6_asbr.c | |
| parent | 70f29b9f7bf157cd439518cba0ecd52efcf22429 (diff) | |
| parent | 6c7bc49428b594e0747af9813b4c510bd2817f4e (diff) | |
Merge pull request #12196 from opensourcerouting/xref-vtysh
*: rewrite `extract.pl` using `xref` infra
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
| -rw-r--r-- | ospf6d/ospf6_asbr.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index 924c2d6c5b..07061b6f57 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -65,9 +65,7 @@ static void ospf6_asbr_redistribute_set(struct ospf6 *ospf6, int type); static void ospf6_asbr_redistribute_unset(struct ospf6 *ospf6, struct ospf6_redist *red, int type); -#ifndef VTYSH_EXTRACT_PL #include "ospf6d/ospf6_asbr_clippy.c" -#endif unsigned char conf_debug_ospf6_asbr = 0; @@ -2206,10 +2204,10 @@ static const struct route_map_rule_cmd ospf6_routemap_rule_set_tag_cmd = { /* add "set metric-type" */ DEFUN_YANG (ospf6_routemap_set_metric_type, ospf6_routemap_set_metric_type_cmd, "set metric-type <type-1|type-2>", - "Set value\n" - "Type of metric\n" - "OSPF6 external type 1 metric\n" - "OSPF6 external type 2 metric\n") + SET_STR + "Type of metric for destination routing protocol\n" + "OSPF[6] external type 1 metric\n" + "OSPF[6] external type 2 metric\n") { char *ext = argv[2]->text; @@ -2228,10 +2226,10 @@ DEFUN_YANG (ospf6_routemap_set_metric_type, ospf6_routemap_set_metric_type_cmd, DEFUN_YANG (ospf6_routemap_no_set_metric_type, ospf6_routemap_no_set_metric_type_cmd, "no set metric-type [<type-1|type-2>]", NO_STR - "Set value\n" - "Type of metric\n" - "OSPF6 external type 1 metric\n" - "OSPF6 external type 2 metric\n") + SET_STR + "Type of metric for destination routing protocol\n" + "OSPF[6] external type 1 metric\n" + "OSPF[6] external type 2 metric\n") { const char *xpath = "./set-action[action='frr-ospf-route-map:metric-type']"; |
