Module: kamailio
Branch: master
Commit: 3d9dffd4b01fb1486d64824f971dbb1be112cdb6
URL:
https://github.com/kamailio/kamailio/commit/3d9dffd4b01fb1486d64824f971dbb1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-04-13T08:23:18+02:00
nat_traversal: use the new function names for basic timer processes
---
Modified: src/modules/nat_traversal/nat_traversal.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3d9dffd4b01fb1486d64824f971dbb1…
Patch:
https://github.com/kamailio/kamailio/commit/3d9dffd4b01fb1486d64824f971dbb1…
---
diff --git a/src/modules/nat_traversal/nat_traversal.c
b/src/modules/nat_traversal/nat_traversal.c
index 3b2924b575..d8b2c0bf2d 100644
--- a/src/modules/nat_traversal/nat_traversal.c
+++ b/src/modules/nat_traversal/nat_traversal.c
@@ -1905,7 +1905,7 @@ static int mod_init(void)
LM_NOTICE("using 10 seconds for keepalive_interval\n");
keepalive_interval = 10;
}
- register_dummy_timers(1);
+ register_basic_timers(1);
return 0;
}
@@ -1913,7 +1913,7 @@ static int mod_init(void)
static int child_init(int rank)
{
if(rank == PROC_MAIN) {
- if(fork_dummy_timer(PROC_TIMER, "TIMER NT", 1 /*socks flag*/,
+ if(fork_basic_timer(PROC_TIMER, "TIMER NT", 1 /*socks flag*/,
keepalive_timer, NULL, 1 /*sec*/)
< 0) {
LM_ERR("failed to register keepalive timer process\n");
@@ -2157,4 +2157,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_nat_traversal_exports);
return 0;
-}
\ No newline at end of file
+}