Module: sip-router
Branch: master
Commit: a17a32e5f7a3120c200d6e48fe91d7aa1dfd28b1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a17a32e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Jun 3 20:53:05 2013 +0200
dialog: shift next timer run for keepalives of dialog
- reported by Daniel Tryba
---
modules/dialog/dlg_hash.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c
index 3aee269..c669290 100644
--- a/modules/dialog/dlg_hash.c
+++ b/modules/dialog/dlg_hash.c
@@ -209,6 +209,7 @@ int dlg_ka_run(ticks_t ti)
/* append to tail */
if(dka!=NULL)
{
+ dka->katime = ti + dlg_ka_interval;
lock_get(dlg_ka_list_lock);
if(*dlg_ka_list_tail!=NULL)
(*dlg_ka_list_tail)->next = dka;