summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-06-04 18:09:25 -0400
committerChristian Hopps <chopps@labn.net>2023-06-05 15:29:05 -0400
commitc6b8e95703ee0701d81787d050a09a9d16f73448 (patch)
tree45f79b9960a115add17fa311f40e879e68650257 /lib/vty.c
parentee235c606fe796af24f33a0c7e8be320df7f9483 (diff)
mgmtd: rm unused/unneeded code add couple comments
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vty.c b/lib/vty.c
index b701f3bc0f..50c4f80aae 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2420,6 +2420,7 @@ void vty_close(struct vty *vty)
vty->status = VTY_CLOSE;
if (mgmt_fe_client && vty->mgmt_session_id) {
+ MGMTD_FE_CLIENT_DBG("closing vty session");
mgmt_fe_destroy_client_session(mgmt_fe_client,
vty->mgmt_client_id);
vty->mgmt_session_id = 0;