]> git.puffer.fish Git - mirror/frr.git/commitdiff
ripngd: Make 'struct zebra_privs_t' available
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 11 Oct 2017 14:23:12 +0000 (10:23 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Oct 2017 22:09:23 +0000 (18:09 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ripngd/ripng_interface.c
ripngd/ripngd.c
ripngd/ripngd.h

index d450d5a7f9806af2ebba4f0e31afdd2d51ae8055..d1057bf53e219eb715f01bcac5b665ca0802ee67 100644 (file)
@@ -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 *);
index df3af2a17f3649c88d0d1761e71147b755d9d1ce..daa2526a0cde695ad11c0f7f5e553d43cd0979e4 100644 (file)
@@ -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);
 
index 9a609cab8a899083767aee325bf6e720c8a8af5e..25a5b46c02e49774bab9178b994d75bc595a97ab 100644 (file)
@@ -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. */