summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-11 20:59:36 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-31 15:20:46 +0100
commitb3d43ff4714742c6e9d3d66501b01a392588e940 (patch)
tree25facbcf5e296d470ca555a598a43b936c73cbc1 /zebra/zebra_router.h
parentzebra: Make zebrad.sock zserv.c private data (diff)
downloadfrr-b3d43ff4714742c6e9d3d66501b01a392588e940.tar.xz
frr-b3d43ff4714742c6e9d3d66501b01a392588e940.zip
zebra: Move rtm_table_default to zrouter
The zrouter should own this particular piece of data. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index 155841cc9..17db34b34 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -70,6 +70,9 @@ struct zebra_router {
/* A sequence number used for tracking routes */
_Atomic uint32_t sequence_num;
+
+ /* The default table used for this router */
+ uint32_t rtm_table_default;
};
extern struct zebra_router zrouter;