aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/endpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/endpt.c b/src/core/endpt.c
index 596329ab..ca76838a 100644
--- a/src/core/endpt.c
+++ b/src/core/endpt.c
@@ -414,6 +414,7 @@ nni_ep_listen(nni_ep *ep, int flags)
int rv = 0;
nni_sock_reconntimes(ep->ep_sock, &ep->ep_inirtime, &ep->ep_maxrtime);
+ ep->ep_currtime = ep->ep_inirtime;
nni_mtx_lock(&ep->ep_mtx);
if (ep->ep_mode != NNI_EP_MODE_LISTEN) {