-/* $OpenBSD: ospf6d.c,v 1.48 2020/09/16 20:50:10 remi Exp $ */
+/* $OpenBSD: ospf6d.c,v 1.49 2021/01/19 09:46:51 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
int pipe_parent2rde[2];
int pipe_ospfe2rde[2];
+enum ospfd_process ospfd_process;
struct ospfd_conf *ospfd_conf = NULL;
struct imsgev *iev_ospfe;
struct imsgev *iev_rde;
-/* $OpenBSD: ospf6d.h,v 1.49 2020/05/17 18:29:25 denis Exp $ */
+/* $OpenBSD: ospf6d.h,v 1.50 2021/01/19 09:46:51 claudio Exp $ */
/*
* Copyright (c) 2004, 2007 Esben Norby <norby@openbsd.org>
};
/* ospf_conf */
-enum {
+enum ospfd_process {
PROC_MAIN,
PROC_OSPF_ENGINE,
PROC_RDE_ENGINE
-} ospfd_process;
+};
+extern enum ospfd_process ospfd_process;
#define REDIST_CONNECTED 0x01
#define REDIST_STATIC 0x02