mirror of
https://github.com/openNDS/openNDS.git
synced 2026-05-04 03:01:32 -04:00
Deprecate ndsctl clients option
Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
@@ -592,6 +592,7 @@ ndsctl_status(FILE *fp)
|
||||
fprintf(fp, "========\n");
|
||||
}
|
||||
|
||||
// Deprecate ndsctl clients
|
||||
void
|
||||
ndsctl_clients(FILE *fp)
|
||||
{
|
||||
@@ -637,6 +638,9 @@ ndsctl_clients(FILE *fp)
|
||||
fprintf(fp, "uploaded=%llu\n", upload_bytes/1000);
|
||||
fprintf(fp, "avg_up_speed=%.2f\n\n", ((double)upload_bytes) / 125 / durationsecs);
|
||||
|
||||
fprintf(fp, "Warning - ndsctl clients is deprecated and will be removed in future versions.\n");
|
||||
fprintf(fp, "please use status or json options instead.\n");
|
||||
|
||||
indx++;
|
||||
client = client->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user