From 506097a1b96974c261411edd25330ceaf90fa3db Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Wed, 30 Oct 2024 11:02:17 -0400 Subject: zebra: separate zebra ZAPI server open and accept Separate zebra's ZAPI server socket handling into two phases: an early phase that opens the socket, and a later phase that starts listening for client connections. Signed-off-by: Mark Stapp --- zebra/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zebra/main.c') diff --git a/zebra/main.c b/zebra/main.c index 138a955bc3..4546d14770 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -467,6 +467,9 @@ int main(int argc, char **argv) zebra_if_init(); zebra_debug_init(); + /* Open Zebra API server socket */ + zserv_open(zserv_path); + /* * Initialize NS( and implicitly the VRF module), and make kernel * routing socket. */ -- cgit v1.2.3