]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Remove the "This command currently does nothing" message 550/head
authorDaniel Walton <dwalton@cumulusnetworks.com>
Tue, 16 May 2017 18:57:20 +0000 (18:57 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Tue, 16 May 2017 18:57:20 +0000 (18:57 +0000)
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This breaks the "vtysh -m" output which causes problems for
frr-reload.py

lib/command.c

index cc597952e4abed09ccfb67c5bddce5152bb19975..f9566f815415ff7e1cea63e7453eff6048b535a6 100644 (file)
@@ -1371,11 +1371,6 @@ DEFUN (frr_version_defaults,
        "set of configuration defaults used\n"
        "version string\n")
 {
-  if (vty->type == VTY_TERM || vty->type == VTY_SHELL)
-    /* only print this when the user tries to do run it */
-    vty_out (vty, "%% NOTE: This command currently does nothing.%s"
-             "%% It is written to the configuration for future reference.%s",
-             VTY_NEWLINE, VTY_NEWLINE);
   return CMD_SUCCESS;
 }