Module: kamailio
Branch: master
Commit: 5b7a915cd496007dde289b71d3e7274a54ac0b20
URL:
https://github.com/kamailio/kamailio/commit/5b7a915cd496007dde289b71d3e7274…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-12-18T14:43:58+01:00
kamcmd: updates to rpc command names
---
Modified: utils/kamcmd/README
Modified: utils/kamcmd/kamcmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5b7a915cd496007dde289b71d3e7274…
Patch:
https://github.com/kamailio/kamailio/commit/5b7a915cd496007dde289b71d3e7274…
---
diff --git a/utils/kamcmd/README b/utils/kamcmd/README
index 13a3818414..d25be59215 100644
--- a/utils/kamcmd/README
+++ b/utils/kamcmd/README
@@ -129,7 +129,7 @@ $ kamcmd ps
11277 tcp main process
$ kamcmd help # list all the supported commands
-dst_blacklist.add
+dst_blocklist.add
ctl.who
...
diff --git a/utils/kamcmd/kamcmd.c b/utils/kamcmd/kamcmd.c
index 459fbfc30a..f3a3a19f11 100644
--- a/utils/kamcmd/kamcmd.c
+++ b/utils/kamcmd/kamcmd.c
@@ -258,8 +258,8 @@ static struct cmd_alias cmd_aliases[]={
{ "dns_debug_all", "dns.debug_all",
"%v (%v) [%v]: size=%v ref=%v expire=%vs last=%vs ago f=%v\n"
"\t\t%v:%v expire=%vs f=%v\n"},
- { "dst_blacklist_mem_info", "dst_blacklist.mem_info", "%v /
%v\n"},
- { "dst_blacklist_debug", "dst_blacklist.debug",
+ { "dst_blocklist_mem_info", "dst_blocklist.mem_info", "%v /
%v\n"},
+ { "dst_blocklist_debug", "dst_blocklist.debug",
"%v:%v:%v expire:%v flags: %v\n"},
{0,0,0}
};