diff options
Diffstat (limited to 'ldpd')
-rw-r--r-- | ldpd/ldpd.c | 2 | ||||
-rw-r--r-- | ldpd/ldpd.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index 7ab8d56f2..78b1c3e54 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -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 diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index bd7562e5a..a5d1bb717 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -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 |