summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index ac3d2e5019..a8654f8b69 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -231,6 +231,10 @@ struct vty {
const char *mgmt_req_pending_cmd;
bool mgmt_locked_candidate_ds;
bool mgmt_locked_running_ds;
+ /* Need to track when we file-lock in vtysh to re-lock on end/conf t
+ * workaround
+ */
+ bool vtysh_file_locked;
};
static inline void vty_push_context(struct vty *vty, int node, uint64_t id)