]> git.puffer.fish Git - mirror/frr.git/commitdiff
babeld: Make the zebra_privs_t available for use
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 11 Oct 2017 13:19:43 +0000 (09:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Oct 2017 22:09:23 +0000 (18:09 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
babeld/babel_main.c
babeld/babeld.h

index 239ab71f066f0a987407fc80a5935fa34bafe574..48f6994d82b39056279251209becc74d945331a0 100644 (file)
@@ -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,
index 899b4f175c46cca29449a8ff4e21ce67ec39fc53..bc284c1e96d5fa255ca6dbc1d0c8cbc5221423d1 100644 (file)
@@ -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,