|
@@ -1887,16 +1887,16 @@ static void siptrace_rpc_status (rpc_t* rpc, void* c) {
|
|
|
|
|
|
if (strncasecmp(status.s, "on", strlen("on")) == 0) {
|
|
if (strncasecmp(status.s, "on", strlen("on")) == 0) {
|
|
*trace_on_flag = 1;
|
|
*trace_on_flag = 1;
|
|
- rpc->printf(c, "Enabled");
|
|
|
|
|
|
+ rpc->rpl_printf(c, "Enabled");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if (strncasecmp(status.s, "off", strlen("off")) == 0) {
|
|
if (strncasecmp(status.s, "off", strlen("off")) == 0) {
|
|
*trace_on_flag = 0;
|
|
*trace_on_flag = 0;
|
|
- rpc->printf(c, "Disabled");
|
|
|
|
|
|
+ rpc->rpl_printf(c, "Disabled");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if (strncasecmp(status.s, "check", strlen("check")) == 0) {
|
|
if (strncasecmp(status.s, "check", strlen("check")) == 0) {
|
|
- rpc->printf(c, *trace_on_flag ? "Enabled" : "Disabled");
|
|
|
|
|
|
+ rpc->rpl_printf(c, *trace_on_flag ? "Enabled" : "Disabled");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
rpc->fault(c, 500, "Bad parameter (on, off or check)");
|
|
rpc->fault(c, 500, "Bad parameter (on, off or check)");
|