summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-12-03 14:26:09 -0600
committerGitHub <noreply@github.com>2024-12-03 14:26:09 -0600
commit71f9899bc4686bf211ba069fbce8045d61ba8e4c (patch)
treee1982aa760373e0576112fc3f9e7c35daebabbb1 /zebra/main.c
parente9c9db0122ec29d7d97d11d93d14e2b04efe191a (diff)
parent506097a1b96974c261411edd25330ceaf90fa3db (diff)
Merge pull request #17313 from mjstapp/zserv_open_unpriv
zebra: separate zebra ZAPI server open and accept
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c3
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. */