Module: kamailio
Branch: master
Commit: f294b39f5c49972df5af51af6a9d719e70e746c6
URL:
https://github.com/kamailio/kamailio/commit/f294b39f5c49972df5af51af6a9d719…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-30T10:58:21+01:00
test/misc: updated to use blocklist api
---
Modified: test/misc/code/p_uri.c
Modified: test/misc/code/parse_to_body.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f294b39f5c49972df5af51af6a9d719…
Patch:
https://github.com/kamailio/kamailio/commit/f294b39f5c49972df5af51af6a9d719…
---
diff --git a/test/misc/code/p_uri.c b/test/misc/code/p_uri.c
index e59135ee3d..cf60f10cad 100644
--- a/test/misc/code/p_uri.c
+++ b/test/misc/code/p_uri.c
@@ -24,9 +24,9 @@ int my_pid() {return 0; };
struct cfg_group_core default_core_cfg = {
L_DBG, /* print only msg. < L_WARN */
LOG_DAEMON, /* log_facility -- see syslog(3) */
-#ifdef USE_DST_BLACKLIST
- /* blacklist */
- 0, /* dst blacklist is disabled by default */
+#ifdef USE_DST_BLOCKLIST
+ /* blocklist */
+ 0, /* dst blocklist is disabled by default */
DEFAULT_BLST_TIMEOUT,
DEFAULT_BLST_MAX_MEM,
#endif
diff --git a/test/misc/code/parse_to_body.c b/test/misc/code/parse_to_body.c
index c8f87206be..1599ed0d6c 100644
--- a/test/misc/code/parse_to_body.c
+++ b/test/misc/code/parse_to_body.c
@@ -24,9 +24,9 @@ int my_pid() {return 0; };
struct cfg_group_core default_core_cfg = {
L_DBG, /* print only msg. < L_WARN */
LOG_DAEMON, /* log_facility -- see syslog(3) */
-#ifdef USE_DST_BLACKLIST
- /* blacklist */
- 0, /* dst blacklist is disabled by default */
+#ifdef USE_DST_BLOCKLIST
+ /* blocklist */
+ 0, /* dst blocklist is disabled by default */
DEFAULT_BLST_TIMEOUT,
DEFAULT_BLST_MAX_MEM,
#endif