summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/vrf.h1
-rw-r--r--lib/vty.c15
-rw-r--r--lib/zclient.c1
3 files changed, 16 insertions, 1 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index 8bfdc87689..e93e993776 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -51,6 +51,7 @@ enum { IFLA_VRF_UNSPEC, IFLA_VRF_TABLE, __IFLA_VRF_MAX };
*/
#define VRF_CMD_HELP_STR "Specify the VRF\nThe VRF name\n"
#define VRF_ALL_CMD_HELP_STR "Specify the VRF\nAll VRFs\n"
+#define VRF_FULL_CMD_HELP_STR "Specify the VRF\nThe VRF name\nAll VRFs\n"
/*
* Pass some OS specific data up through
diff --git a/lib/vty.c b/lib/vty.c
index 12c3c12394..4026e0cf8a 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2279,6 +2279,21 @@ static void vty_read_file(FILE *confp)
case CMD_ERR_NO_MATCH:
message = "No such command";
break;
+ case CMD_WARNING:
+ message = "Command returned Warning";
+ break;
+ case CMD_WARNING_CONFIG_FAILED:
+ message = "Command returned Warning Config Failed";
+ break;
+ case CMD_ERR_INCOMPLETE:
+ message = "Command returned Incomplete";
+ break;
+ case CMD_ERR_EXEED_ARGC_MAX:
+ message = "Command exceeded maximum number of Arguments";
+ break;
+ default:
+ message = "Command returned unhandled error message";
+ break;
}
nl = strchr(vty->error_buf, '\n');
diff --git a/lib/zclient.c b/lib/zclient.c
index d23e5fbd79..8ada2cf978 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -574,7 +574,6 @@ void zclient_init(struct zclient *zclient, int redist_default,
/* Set default-information redistribute to zero. */
zclient->default_information = vrf_bitmap_init();
- ;
if (zclient_debug)
zlog_debug("zclient_start is called");