isisd: Allow struct zebra_privs_t to be available

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-10-11 09:34:44 -04:00
parent f77519c867
commit 76e292f994
6 changed files with 6 additions and 6 deletions

View File

@ -45,8 +45,6 @@
#include "privs.h"
extern struct zebra_privs_t isisd_privs;
struct bpf_insn llcfilter[] = {
/* check first byte */
BPF_STMT(BPF_LD + BPF_B + BPF_ABS, ETH_ALEN),

View File

@ -47,8 +47,6 @@
#include "privs.h"
extern struct zebra_privs_t isisd_privs;
static t_uscalar_t dlpi_ctl[1024]; /* DLPI control messages */
/*

View File

@ -44,8 +44,6 @@
#include "privs.h"
extern struct zebra_privs_t isisd_privs;
/* tcpdump -i eth0 'isis' -dd */
static struct sock_filter isisfilter[] =
{

View File

@ -33,6 +33,8 @@
#include "isis_memory.h"
#include "qobj.h"
extern struct zebra_privs_t isisd_privs;
/* uncomment if you are a developer in bug hunt */
/* #define EXTREME_DEBUG */
/* #define EXTREME_DICT_DEBUG */

View File

@ -19,6 +19,8 @@ int isis_sock_init(struct isis_circuit *circuit)
return 0;
}
struct zebra_privs_t isisd_privs;
static bool atexit_registered;
static void show_meminfo_at_exit(void)

View File

@ -9,6 +9,8 @@ int isis_sock_init(struct isis_circuit *circuit)
return 0;
}
struct zebra_privs_t isisd_privs;
static struct isis_vertex **vertices;
static size_t vertex_count;