summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--babeld/babel_main.c2
-rw-r--r--babeld/babeld.h2
2 files changed, 3 insertions, 1 deletions
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,