diff options
| author | Christian Hopps <chopps@labn.net> | 2023-06-09 16:54:54 -0400 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-06-13 04:11:29 -0400 | 
| commit | 96f9e7853bad7e21676f2eb126a915561e6c8dce (patch) | |
| tree | b902eda89b5fd78543bd24c494e18a3c0946ca11 /lib/vty.h | |
| parent | e0db9a05bd43eafbd6e2b2bf84aaa7ac31b415fa (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.h | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -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;  };  | 
