浏览代码

test/misc: updated to use blocklist api

Daniel-Constantin Mierla 4 年之前
父节点
当前提交
f294b39f5c
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 3 3
      test/misc/code/p_uri.c
  2. 3 3
      test/misc/code/parse_to_body.c

+ 3 - 3
test/misc/code/p_uri.c

@@ -24,9 +24,9 @@ int my_pid() {return 0; };
 struct cfg_group_core default_core_cfg = {
 struct cfg_group_core default_core_cfg = {
 	L_DBG, /*  print only msg. < L_WARN */
 	L_DBG, /*  print only msg. < L_WARN */
 	LOG_DAEMON,	/* log_facility -- see syslog(3) */
 	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_TIMEOUT,
 	DEFAULT_BLST_MAX_MEM,
 	DEFAULT_BLST_MAX_MEM,
 #endif
 #endif

+ 3 - 3
test/misc/code/parse_to_body.c

@@ -24,9 +24,9 @@ int my_pid() {return 0; };
 struct cfg_group_core default_core_cfg = {
 struct cfg_group_core default_core_cfg = {
 	L_DBG, /*  print only msg. < L_WARN */
 	L_DBG, /*  print only msg. < L_WARN */
 	LOG_DAEMON,	/* log_facility -- see syslog(3) */
 	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_TIMEOUT,
 	DEFAULT_BLST_MAX_MEM,
 	DEFAULT_BLST_MAX_MEM,
 #endif
 #endif