summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/version.h4
-rw-r--r--lib/vty.c18
2 files changed, 12 insertions, 10 deletions
diff --git a/lib/version.h b/lib/version.h
index 9a90bf4e..028e1f8e 100644
--- a/lib/version.h
+++ b/lib/version.h
@@ -22,10 +22,12 @@
#ifndef _ZEBRA_VERSION_H
#define _ZEBRA_VERSION_H
-#define ZEBRA_VERSION "0.93b"
+#define ZEBRA_VERSION "0.94"
#define ZEBRA_BUG_ADDRESS "bug-zebra@gnu.org"
+#define ZEBRA_URL "http://zebra.dishone.st"
+
extern char *host_name;
void print_version(char *);
diff --git a/lib/vty.c b/lib/vty.c
index c38ae946..90e1dadb 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2115,17 +2115,17 @@ vty_read_file (FILE *confp)
/* Execute configuration file */
ret = config_from_file (vty, confp);
- if (ret != CMD_SUCCESS)
+ if ( !((ret == CMD_SUCCESS) || (ret == CMD_ERR_NOTHING_TODO)) )
{
switch (ret)
- {
- case CMD_ERR_AMBIGUOUS:
- fprintf (stderr, "Ambiguous command.\n");
- break;
- case CMD_ERR_NO_MATCH:
- fprintf (stderr, "There is no such command.\n");
- break;
- }
+ {
+ case CMD_ERR_AMBIGUOUS:
+ fprintf (stderr, "Ambiguous command.\n");
+ break;
+ case CMD_ERR_NO_MATCH:
+ fprintf (stderr, "There is no such command.\n");
+ break;
+ }
fprintf (stderr, "Error occured during reading below line.\n%s\n",
vty->buf);
vty_close (vty);