{
fprintf (stderr, "%s: failed to open configuration file %s: %s\n",
__func__, config_default_dir, safe_strerror (errno));
-
+
confp = vty_use_backup_config (config_default_dir);
if (confp)
{
else
{
fprintf (stderr, "can't open configuration file [%s]\n",
- config_default_dir);
- exit (1);
+ config_default_dir);
+ exit (1);
}
- }
+ }
else
fullpath = config_default_dir;
}
#include "linklist.h"
#include "command.h"
-extern struct list *config_top;
-extern void config_add_line(struct list *config, const char *line);
-
/*
* Compiler is warning about prototypes not being declared.
* The DEFUNSH and DEFUN macro's are messing with the