forked from Mirror/frr
ldpd: fix another linking issue with GCC-10
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
This commit is contained in:
parent
ec03d9e3a4
commit
54ca644b6e
|
@ -86,6 +86,8 @@ static struct imsgev *iev_lde, *iev_lde_sync;
|
|||
static pid_t ldpe_pid;
|
||||
static pid_t lde_pid;
|
||||
|
||||
enum ldpd_process ldpd_process;
|
||||
|
||||
#define LDP_DEFAULT_CONFIG "ldpd.conf"
|
||||
#define LDP_VTY_PORT 2612
|
||||
|
||||
|
|
|
@ -446,7 +446,7 @@ DECLARE_QOBJ_TYPE(l2vpn)
|
|||
#define L2VPN_TYPE_VPLS 2
|
||||
|
||||
/* ldp_conf */
|
||||
enum ldpd_process {
|
||||
extern enum ldpd_process {
|
||||
PROC_MAIN,
|
||||
PROC_LDP_ENGINE,
|
||||
PROC_LDE_ENGINE
|
||||
|
|
Loading…
Reference in a new issue