summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-04 15:14:52 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commitce50d11c4d89304825b614d63fe6d7bd8ad2d517 (patch)
treec5c8aad8c6b51d88033cb47b1fa373b91ae2efb1 /vtysh
parent*: Convert THREAD_XXX macros to EVENT_XXX macros (diff)
downloadfrr-ce50d11c4d89304825b614d63fe6d7bd8ad2d517.tar.xz
frr-ce50d11c4d89304825b614d63fe6d7bd8ad2d517.zip
*: Convert thread_master_XXX functions to event_master_XXX
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c
index 47517010b..7b92ac220 100644
--- a/vtysh/vtysh_main.c
+++ b/vtysh/vtysh_main.c
@@ -228,7 +228,7 @@ static void vtysh_rl_run(void)
{
struct event thread;
- master = thread_master_create(NULL);
+ master = event_master_create(NULL);
rl_callback_handler_install(vtysh_prompt(), vtysh_rl_callback);
event_add_read(master, vtysh_rl_read, NULL, STDIN_FILENO,
@@ -240,7 +240,7 @@ static void vtysh_rl_run(void)
if (!vtysh_loop_exited)
rl_callback_handler_remove();
- thread_master_free(master);
+ event_master_free(master);
}
static void log_it(const char *line)