From 346526cc5b346f5d25d162c41373d2244f5bee76 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 11 Oct 2017 09:19:43 -0400 Subject: [PATCH] babeld: Make the zebra_privs_t available for use Signed-off-by: Donald Sharp --- babeld/babel_main.c | 2 +- babeld/babeld.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 239ab71f06..48f6994d82 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -84,7 +84,7 @@ static zebra_capabilities_t _caps_p [] = ZCAP_BIND }; -static struct zebra_privs_t babeld_privs = +struct zebra_privs_t babeld_privs = { #if defined(FRR_USER) .user = FRR_USER, diff --git a/babeld/babeld.h b/babeld/babeld.h index 899b4f175c..bc284c1e96 100644 --- a/babeld/babeld.h +++ b/babeld/babeld.h @@ -113,6 +113,8 @@ struct babel struct thread *t_update; /* timers */ }; +extern struct zebra_privs_t babeld_privs; + extern void babeld_quagga_init(void); extern int input_filter(const unsigned char *id, const unsigned char *prefix, unsigned short plen, -- 2.39.5