summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-06-09 16:54:54 -0400
committerChristian Hopps <chopps@labn.net>2023-06-13 04:11:29 -0400
commit96f9e7853bad7e21676f2eb126a915561e6c8dce (patch)
treeb902eda89b5fd78543bd24c494e18a3c0946ca11 /lib/vty.h
parente0db9a05bd43eafbd6e2b2bf84aaa7ac31b415fa (diff)
lib: mgmtd: improvements in logging and commentary
- log names of datastores not numbers - improve logging for mgmt_msg_read - Rather than use a bool, instead store the pending const string name of the command being run that has postponed the CLI. This adds some nice information to the logging when enabled. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 28f27d0d47..2b9ee4838e 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -229,7 +229,7 @@ struct vty {
/* set when we have sent mgmtd a *REQ command in response to some vty
* CLI command and we are waiting on the reply so we can respond to the
* vty user. */
- bool mgmt_req_pending;
+ const char *mgmt_req_pending_cmd;
bool mgmt_locked_candidate_ds;
};