summaryrefslogtreecommitdiffstats
path: root/ldpd
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/ldpd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c
index 9fccb085d..a6f0519bd 100644
--- a/ldpd/ldpd.c
+++ b/ldpd/ldpd.c
@@ -236,6 +236,9 @@ main(int argc, char *argv[])
" --ctl_socket Override ctl socket path\n"
" -n, --instance Instance id\n");
+ /* set default instance (to differentiate ldpd socket from lde one */
+ init.instance = 1;
+
while (1) {
int opt;