summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-11 16:23:12 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-24 00:09:23 +0200
commit5cb6ce9c67731b88017266f734c9a79e7a00d23d (patch)
treebf8fedac7700fa88112a3b198140ca9cb89a89bc /ripngd
parentripd: Make 'struct zebra_privs_t' available (diff)
downloadfrr-5cb6ce9c67731b88017266f734c9a79e7a00d23d.tar.xz
frr-5cb6ce9c67731b88017266f734c9a79e7a00d23d.zip
ripngd: Make 'struct zebra_privs_t' available
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripng_interface.c2
-rw-r--r--ripngd/ripngd.c2
-rw-r--r--ripngd/ripngd.h2
3 files changed, 1 insertions, 5 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index d450d5a7f..d1057bf53 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -47,8 +47,6 @@
#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP
#endif
-extern struct zebra_privs_t ripngd_privs;
-
/* Static utility function. */
static void ripng_enable_apply(struct interface *);
static void ripng_passive_interface_apply(struct interface *);
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index df3af2a17..daa2526a0 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -50,8 +50,6 @@ enum { ripng_all_route,
ripng_changed_route,
};
-extern struct zebra_privs_t ripngd_privs;
-
/* Prototypes. */
void ripng_output_process(struct interface *, struct sockaddr_in6 *, int);
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 9a609cab8..25a5b46c0 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -327,7 +327,7 @@ enum ripng_event {
/* Extern variables. */
extern struct ripng *ripng;
-
+extern struct zebra_privs_t ripngd_privs;
extern struct thread_master *master;
/* Prototypes. */