Module: sip-router Branch: 4.1 Commit: 2eed3023870f793b6824d091b75099bc9a82edf9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2eed3023870f793b6824d091b75099bc9a82edf9
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: Fri Apr 11 23:03:05 2014 +0200 dialog: proper detection of keepalive flag for destination - credit to Bill Radis, FS#416, for report and fix (cherry picked from commit 933a621f40eaa31b193e76f162f9cc016b49aeac) --- modules/dialog/dlg_hash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c index d8b2759..3dafc46 100644 --- a/modules/dialog/dlg_hash.c +++ b/modules/dialog/dlg_hash.c @@ -132,7 +132,7 @@ int dlg_ka_add(dlg_cell_t *dlg) if(dlg_ka_interval<=0) return 0; - if(!(dlg->iflags & (DLG_IFLAG_KA_SRC | DLG_IFLAG_KA_SRC))) + if(!(dlg->iflags & (DLG_IFLAG_KA_SRC | DLG_IFLAG_KA_DST))) return 0; dka = (dlg_ka_t*)shm_malloc(sizeof(dlg_ka_t)); _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
