summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-07-24 10:22:53 -0400
committerGitHub <noreply@github.com>2024-07-24 10:22:53 -0400
commit5bb0b01e3486c25a9412688a8dc1d0ead91036da (patch)
treeca67c7e2e3741b905700ce5da2ea937b1af4b6be /lib/vty.c
parent1fddc91dc6d627016a397f65c01b05ad9e49d623 (diff)
parentbe9a6fc0ea8180a4aaa558c5402ea543427e2e7e (diff)
Merge pull request #16451 from LabNConsulting/chopps/fix-early-mgmtd-detach
lib: mgmtd: fix too early daemon detach of mgmtd
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index ecb5383a53..d0bbf0e61a 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -3502,7 +3502,7 @@ static void vty_mgmt_server_connected(struct mgmt_fe_client *client,
/* Start or stop listening for vty connections */
if (connected)
- frr_vty_serv_start();
+ frr_vty_serv_start(true);
else
frr_vty_serv_stop();
}