]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bfdd: fix profiles autocompletion
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 1 Apr 2021 12:48:24 +0000 (15:48 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 1 Apr 2021 12:48:24 +0000 (15:48 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bfdd/bfdd_cli.c
vtysh/vtysh.c

index b64e36b36a444a03dffa0b8e6c1fa75d0cfba07d..5a844e56e121b0e03ee379ff65cd9069ead7face 100644 (file)
@@ -486,7 +486,7 @@ void bfd_cli_show_echo_interval(struct vty *vty, struct lyd_node *dnode,
  * Profile commands.
  */
 DEFPY_YANG_NOSH(bfd_profile, bfd_profile_cmd,
-          "profile WORD$name",
+          "profile BFDPROF$name",
           BFD_PROFILE_STR
           BFD_PROFILE_NAME_STR)
 {
index 74f13e1a44e8ae63094b6c76cfb47e8499bdd2a0..cf1811bb1f2f200dd2118dc88dd3ad66150973fa 100644 (file)
@@ -1959,7 +1959,7 @@ DEFUNSH(VTYSH_BFDD, bfd_peer_enter, bfd_peer_enter_cmd,
 }
 
 DEFUNSH(VTYSH_BFDD, bfd_profile_enter, bfd_profile_enter_cmd,
-       "profile WORD",
+       "profile BFDPROF",
        BFD_PROFILE_STR
        BFD_PROFILE_NAME_STR)
 {