summaryrefslogtreecommitdiffstats
path: root/zebra/router-id.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-13 18:21:47 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-15 02:56:45 +0200
commit44e9909db444bead27483886b013b96fcf0aca47 (patch)
tree44dbc0deba22cb0c81950e69acdd96deeaafbd64 /zebra/router-id.c
parentlib, zebra: Rework vrf_add_update (diff)
downloadfrr-44e9909db444bead27483886b013b96fcf0aca47.tar.xz
frr-44e9909db444bead27483886b013b96fcf0aca47.zip
zebra: Refactor struct zebra_t
We were including 'extern struct zebra_t zebrad;' all over the place. This made no sense. Refactor into zserv.h where the definition was and remove resulting unnecessary code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'zebra/router-id.c')
-rw-r--r--zebra/router-id.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c
index 968fbc677..a3195cdc9 100644
--- a/zebra/router-id.c
+++ b/zebra/router-id.c
@@ -42,10 +42,6 @@
#include "zebra/router-id.h"
#include "zebra/redistribute.h"
-
-/* master zebra server structure */
-extern struct zebra_t zebrad;
-
static struct connected *
router_id_find_node (struct list *l, struct connected *ifc)
{