Module: kamailio
Branch: master
Commit: 9cd73c58239e50574d73d88792240a4ca569d709
URL:
https://github.com/kamailio/kamailio/commit/9cd73c58239e50574d73d88792240a4…
Author: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Committer: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Date: 2020-05-07T23:50:20+02:00
drouting: update to new keepalive interface, using new on response callback
- Changes required because of dependencies from module keepalive.
---
Modified: src/modules/drouting/drouting.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9cd73c58239e50574d73d88792240a4…
Patch:
https://github.com/kamailio/kamailio/commit/9cd73c58239e50574d73d88792240a4…
---
diff --git a/src/modules/drouting/drouting.c b/src/modules/drouting/drouting.c
index 4fd0786ffe..394049ac51 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, 0, dr_keepalive_statechanged, cur);
+ &cur->ip, &owner, 0, 0, dr_keepalive_statechanged, 0, cur);
}
return 0;