Module: kamailio
Branch: master
Commit: 6e3a8aea7f9f6dde462c86dfd8cd3027c2751e98
URL:
https://github.com/kamailio/kamailio/commit/6e3a8aea7f9f6dde462c86dfd8cd302…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2020-06-24T21:00:11+02:00
Merge pull request #2372 from
danielmartinezruiz/keepalive_config_ka_ping_from_value_cut_off
keepalive: manage the `ping_from` config value as str.
---
Modified: src/modules/keepalive/keepalive_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6e3a8aea7f9f6dde462c86dfd8cd302…
Patch:
https://github.com/kamailio/kamailio/commit/6e3a8aea7f9f6dde462c86dfd8cd302…
---
diff --git a/src/modules/keepalive/keepalive_mod.c
b/src/modules/keepalive/keepalive_mod.c
index e1da2e9db2..bcf021d461 100644
--- a/src/modules/keepalive/keepalive_mod.c
+++ b/src/modules/keepalive/keepalive_mod.c
@@ -83,8 +83,8 @@ static param_export_t params[] = {
{"ping_interval", PARAM_INT, &ka_ping_interval},
{"destination", PARAM_STRING | USE_FUNC_PARAM,
(void *)ka_mod_add_destination},
- {"ping_from", PARAM_STRING, &ka_ping_from},
- {"delete_counter", PARAM_INT, &ka_counter_del},
+ {"ping_from", PARAM_STR, &ka_ping_from},
+ {"delete_counter", PARAM_INT, &ka_counter_del},
{0, 0, 0}
};