ripd: Make 'struct zebra_privs_t' available

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-10-11 10:20:15 -04:00
parent 101dc9bc6c
commit 32b5a49362
3 changed files with 2 additions and 5 deletions

View file

@ -58,8 +58,6 @@ const struct message ri_version_msg[] = {{RI_RIP_VERSION_1, "1"},
{RI_RIP_VERSION_NONE, "none"},
{0}};
extern struct zebra_privs_t ripd_privs;
/* RIP enabled network vector. */
vector rip_enable_interface;

View file

@ -49,9 +49,6 @@ DEFINE_QOBJ_TYPE(rip)
/* UDP receive buffer size */
#define RIP_UDP_RCV_BUF 41600
/* privileges global */
extern struct zebra_privs_t ripd_privs;
/* RIP Structure. */
struct rip *rip = NULL;

View file

@ -427,6 +427,8 @@ extern struct rip_info *rip_ecmp_delete(struct rip_info *);
/* There is only one rip strucutre. */
extern struct rip *rip;
extern struct zebra_privs_t ripd_privs;
/* Master thread strucutre. */
extern struct thread_master *master;