]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: Allow some new cli to have correct number of help strings
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 Jan 2017 03:08:35 +0000 (22:08 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 Jan 2017 03:08:35 +0000 (22:08 -0500)
The 'add vrf NAME prefix....' command was missing a \n
and the 'no label' command was missing a help string for no.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/rfapi/bgp_rfapi_cfg.c
bgpd/rfapi/rfapi_vty.c

index c694a8e3cefa06caf6c806a89f2d4405416a7126..53869ebddbb888b1d29b1d3c6e354b52de654dc8 100644 (file)
@@ -3353,6 +3353,7 @@ DEFUN (vnc_vrf_policy_label,
 DEFUN (vnc_vrf_policy_no_label,
        vnc_vrf_policy_no_label_cmd,
        "no label",
+       NO_STR
        "Remove VRF default label\n")
 {
   VTY_DECLVAR_CONTEXT_SUB(rfapi_nve_group_cfg, rfg);
index 7fbfae2951ae5d39051c488281f13c9e800f76a8..c54f974d600b5e216dcbd8a30b951c9b735b9a6e 100644 (file)
@@ -5192,7 +5192,7 @@ DEFUN (add_vrf_prefix_rd_label_pref,
        "IPv6 prefix\n"
        "Override configured VRF Route Distinguisher\n"
        "<as-number>:<number> or <ip-address>:<number>\n"
-       "Override configured VRF label"
+       "Override configured VRF label\n"
        "Label Value <0-1048575>\n"
        "Set advertised local preference\n"
        "local preference (higher=more preferred)\n")