vtysh_execute("enable");
while (cmd != NULL) {
- int ret;
char *eol;
while ((eol = strchr(cmd->line, '\n')) != NULL) {
/* Boot startup configuration file. */
if (boot_flag) {
vtysh_flock_config(frr_config);
- int ret = vtysh_read_config(frr_config);
+ ret = vtysh_read_config(frr_config);
vtysh_unflock_config();
if (ret) {
fprintf(stderr,
exit(0);
}
- vtysh_pager_init();
-
vtysh_readline_init();
vty_hello(vty);