summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-11 16:13:59 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-24 00:09:23 +0200
commit101dc9bc6c6e68d1e88e447e2252ccb2d86f7326 (patch)
tree6e132ef69096979187035d59318723e24a977d39
parentospfd: Make 'struct zebra_privs_t' available. (diff)
downloadfrr-101dc9bc6c6e68d1e88e447e2252ccb2d86f7326.tar.xz
frr-101dc9bc6c6e68d1e88e447e2252ccb2d86f7326.zip
ospf6d: Make 'struct zebra_privs_t' available
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--ospf6d/ospf6_network.c3
-rw-r--r--ospf6d/ospf6d.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_network.c b/ospf6d/ospf6_network.c
index 4d9c25944..9f81bb89f 100644
--- a/ospf6d/ospf6_network.c
+++ b/ospf6d/ospf6_network.c
@@ -29,8 +29,7 @@
#include "libospf.h"
#include "ospf6_proto.h"
#include "ospf6_network.h"
-
-extern struct zebra_privs_t ospf6d_privs;
+#include "ospf6d.h"
int ospf6_sock;
struct in6_addr allspfrouters6;
diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h
index 77a40eac6..f95381084 100644
--- a/ospf6d/ospf6d.h
+++ b/ospf6d/ospf6d.h
@@ -94,6 +94,7 @@ extern struct thread_master *master;
return CMD_SUCCESS; \
}
+extern struct zebra_privs_t ospf6d_privs;
/* Function Prototypes */
extern struct route_node *route_prev(struct route_node *node);