diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-10-30 11:02:17 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2024-12-03 09:44:46 -0500 | 
| commit | 506097a1b96974c261411edd25330ceaf90fa3db (patch) | |
| tree | ef9df070e995fc72da7ddb313890f8e0f8f48c66 /zebra/main.c | |
| parent | 426dc2b7e2764f90bffc4291f3e2a3a9c03ea71a (diff) | |
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 <mjs@cisco.com>
Diffstat (limited to 'zebra/main.c')
| -rw-r--r-- | zebra/main.c | 3 | 
1 files changed, 3 insertions, 0 deletions
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. */  | 
