X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fldp.c;h=c26c460bec803fcff270fb26c806dcd64541cd03;hb=54693d23307ce8944a4d97379efd3bd4dcf0485c;hp=ce243df1c96c9b5f961cf692f5d29562b9769c23;hpb=5df580eec93c0c6fc07dd38f8713f671565b9c38;p=vpp.git diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c index ce243df1c96..c26c460bec8 100644 --- a/src/vcl/ldp.c +++ b/src/vcl/ldp.c @@ -3171,7 +3171,7 @@ ldp_epoll_pwait (int epfd, struct epoll_event *events, return -1; } - time_to_wait = ((timeout >= 0) ? (double) timeout / (double) 1000 : 0); + time_to_wait = ((timeout >= 0) ? (double) timeout : 0); time_out = clib_time_now (&ldp->clib_time) + time_to_wait; func_str = "vppcom_session_attr[GET_LIBC_EPFD]";