summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-11 13:31:46 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-31 09:20:46 -0500
commit3801e7646c73b4b0122ea02eb35e8d39c3796c95 (patch)
tree1cc94938f78745afc8f83b506efc93d6eb9a4f49 /zebra/zebra_router.h
parent19b336d343464047eb959d1a3a2b0e08c1461c1f (diff)
zebra: Move the master thread handler to the zrouter structure
The master thread handler is really part of the zrouter structure. So let's move it over to that. Eventually zserv.h will only be used for zapi messages. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index f63dcd984e..244b8c37a0 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -45,6 +45,8 @@ RB_PROTOTYPE(zebra_router_table_head, zebra_router_table,
zebra_router_table_entry, zebra_router_table_entry_compare)
struct zebra_router {
+ /* Thread master */
+ struct thread_master *master;
struct zebra_router_table_head tables;