summaryrefslogtreecommitdiffstats
path: root/lib/vty.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-03-31 18:34:49 +0200
committerChristian Hopps <chopps@labn.net>2023-04-02 00:06:43 +0200
commit8033bf3976d85c84f00a3ab320eca5fc8418d756 (patch)
tree945221853843902b26bb0ba00facc01dae628ad7 /lib/vty.c
parentmgmtd: remove startup config feature for now (diff)
downloadfrr-8033bf3976d85c84f00a3ab320eca5fc8418d756.tar.xz
frr-8033bf3976d85c84f00a3ab320eca5fc8418d756.zip
mgmtd: lib: read transitioned daemons split config files in mgmtd
When daemons transition to mgmtd they should stop reading their split config files, and let mgmtd do that, otherwise things can get out of sync. Signed-off-by: Christian Hopps <chopps@labn.net>
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 d0a667778..974f5380d 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2400,7 +2400,7 @@ static void vty_timeout(struct event *thread)
}
/* Read up configuration file from file_name. */
-static void vty_read_file(struct nb_config *config, FILE *confp)
+void vty_read_file(struct nb_config *config, FILE *confp)
{
int ret;
struct vty *vty;