From 86def7e58bfdd312fc0ecd2774c0a50b9cda3d06 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Thu, 5 Dec 2019 16:33:51 -0500 Subject: [PATCH] zebra: capture dplane plugin flags [7.2 version] The flags can be important - like "threaded" - so we need to actually capture them when plugins are registered. Signed-off-by: Mark Stapp --- zebra/zebra_dplane.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index ffc1615fcb..7dfb4a152e 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -2545,6 +2545,7 @@ int dplane_provider_register(const char *name, TAILQ_INIT(&(p->dp_ctx_in_q)); TAILQ_INIT(&(p->dp_ctx_out_q)); + p->dp_flags = flags; p->dp_priority = prio; p->dp_fp = fp; p->dp_start = start_fp; -- 2.39.5