From: Donald Sharp Date: Wed, 11 Oct 2017 14:13:59 +0000 (-0400) Subject: ospf6d: Make 'struct zebra_privs_t' available X-Git-Tag: frr-4.0-dev~195^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=101dc9bc6c6e68d1e88e447e2252ccb2d86f7326;p=matthieu%2Ffrr.git ospf6d: Make 'struct zebra_privs_t' available Signed-off-by: Donald Sharp --- diff --git a/ospf6d/ospf6_network.c b/ospf6d/ospf6_network.c index 4d9c259443..9f81bb89fb 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 77a40eac63..f95381084d 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);