summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 78bf0e720d..53a04851d5 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -923,7 +923,7 @@ vty_complete_command (struct vty *vty)
if (isspace ((int) vty->buf[vty->length - 1]))
vector_set (vline, NULL);
- matched = cmd_complete_command_lib (vline, vty, &ret, 1);
+ matched = cmd_complete_command (vline, vty, &ret);
cmd_free_strvec (vline);