Module: kamailio
Branch: master
Commit: 616aa146f919b8a42101a323c611a6a525b19236
URL:
https://github.com/kamailio/kamailio/commit/616aa146f919b8a42101a323c611a6a…
Author: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Committer: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Date: 2020-05-06T23:13:27+02:00
drouting: update to new keepalive interface, using custom pinging interval per
destination
- Changes required because of dependencies from module keepalive.
---
Modified: src/modules/drouting/drouting.c
---
Diff:
https://github.com/kamailio/kamailio/commit/616aa146f919b8a42101a323c611a6a…
Patch:
https://github.com/kamailio/kamailio/commit/616aa146f919b8a42101a323c611a6a…
---
diff --git a/src/modules/drouting/drouting.c b/src/modules/drouting/drouting.c
index e16f5ae804..4fd0786ffe 100644
--- a/src/modules/drouting/drouting.c
+++ b/src/modules/drouting/drouting.c
@@ -223,7 +223,7 @@ static int dr_update_keepalive(pgw_t *addrs)
for(cur = addrs; cur != NULL; cur = cur->next) {
LM_DBG("uri: %.*s\n", cur->ip.len, cur->ip.s);
keepalive_api.add_destination(
- &cur->ip, &owner, 0, dr_keepalive_statechanged, cur);
+ &cur->ip, &owner, 0, 0, dr_keepalive_statechanged, cur);
}
return 0;