diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-04-13 18:21:47 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-04-15 02:56:45 +0200 |
commit | 44e9909db444bead27483886b013b96fcf0aca47 (patch) | |
tree | 44dbc0deba22cb0c81950e69acdd96deeaafbd64 /zebra/zebra_ptm_redistribute.c | |
parent | lib, zebra: Rework vrf_add_update (diff) | |
download | frr-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/zebra_ptm_redistribute.c')
-rw-r--r-- | zebra/zebra_ptm_redistribute.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/zebra_ptm_redistribute.c b/zebra/zebra_ptm_redistribute.c index 8533219d2..a255f5a1e 100644 --- a/zebra/zebra_ptm_redistribute.c +++ b/zebra/zebra_ptm_redistribute.c @@ -26,9 +26,6 @@ #include "zebra/zserv.h" #include "zebra/zebra_ptm_redistribute.h" -/* master zebra server structure */ -extern struct zebra_t zebrad; - static int zsend_interface_bfd_update (int cmd, struct zserv *client, struct interface *ifp, struct prefix *dp, |