summaryrefslogtreecommitdiffstats
path: root/zebra/main.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-09-07 21:46:13 +0200
committerMark Stapp <mjs@voltanet.io>2018-11-21 16:38:08 +0100
commite5a60d8259d4b969826e622133dff5a6d8330903 (patch)
tree4b97b184e0990afaae6ba011cd8ef51f0d8398c4 /zebra/main.c
parentzebra: dataplane provider enhancements (diff)
downloadfrr-e5a60d8259d4b969826e622133dff5a6d8330903.tar.xz
frr-e5a60d8259d4b969826e622133dff5a6d8330903.zip
zebra: reorg dataplane pthread start
Move dataplane pthread start later in the zebra startup; make the 'test' dplane provider conditional Signed-off-by: Mark Stapp <mjs@voltanet.io>
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 20a2185b1..e5160c1a5 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -448,6 +448,9 @@ int main(int argc, char **argv)
/* Needed for BSD routing socket. */
pid = getpid();
+ /* Start dataplane system */
+ zebra_dplane_start();
+
/* Start Zebra API server */
zserv_start(zserv_path);