diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-11 15:19:43 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-24 00:09:23 +0200 |
commit | 346526cc5b346f5d25d162c41373d2244f5bee76 (patch) | |
tree | 211a34f4ed9167a4da09facc9f8d1bd43bdb1b59 /babeld | |
parent | zebra: Set zapi send/receive buffer to a larger value (diff) | |
download | frr-346526cc5b346f5d25d162c41373d2244f5bee76.tar.xz frr-346526cc5b346f5d25d162c41373d2244f5bee76.zip |
babeld: Make the zebra_privs_t available for use
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld')
-rw-r--r-- | babeld/babel_main.c | 2 | ||||
-rw-r--r-- | babeld/babeld.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 239ab71f0..48f6994d8 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 899b4f175..bc284c1e9 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, |