summaryrefslogtreecommitdiffstats
path: root/src/vcl/ldp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/ldp.c')
-rw-r--r--src/vcl/ldp.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index 453ddeb3340..c3dc64a4d3b 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -258,9 +258,12 @@ ldp_init (void)
rv = vppcom_app_create (ldp_get_app_name ());
if (rv != VPPCOM_OK)
{
- fprintf (stderr, "\nLDP<%d>: ERROR: ldp_init: vppcom_app_create()"
- " failed! rv = %d (%s)\n",
- getpid (), rv, vppcom_retval_str (rv));
+ ldp->vcl_needs_real_epoll = 0;
+ if (rv == VPPCOM_EEXIST)
+ return 0;
+ LDBG (2, "\nLDP<%d>: ERROR: ldp_init: vppcom_app_create()"
+ " failed! rv = %d (%s)\n",
+ getpid (), rv, vppcom_retval_str (rv));
ldp->init = 0;
return rv;
}