--- zebra-0.95a/vtysh/vtysh.c 2026-10-18 16:04:50.556631325 +0200 +++ zebra-0.95a/vtysh/vtysh.c 2026-10-18 16:04:50.558261089 +0200 @@ -730,7 +730,7 @@ new_completion (char *text, int start, i { char **matches; - matches = completion_matches (text, command_generator); + matches = rl_completion_matches (text, (rl_compentry_func_t *)command_generator); if (matches) { @@ -1607,7 +1607,7 @@ vtysh_readline_init () /* readline related settings. */ rl_bind_key ('?', vtysh_rl_describe); rl_completion_entry_function = vtysh_completion_entry_function; - rl_attempted_completion_function = (CPPFunction *)new_completion; + rl_attempted_completion_function = (rl_completion_func_t *)new_completion; /* do not append space after completion. It will be appended in new_completion() function explicitly */ rl_completion_append_character = '\0';