diff options
author | Max <msuraev@sysmocom.de> | 2017-11-24 11:28:35 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-11-24 13:33:19 +0000 |
commit | b4718fd233a00a950cef1965d13afccd6c6c0e77 (patch) | |
tree | daab7b6057426345d8c3c6bb07e74a29a8f8e9f8 /src | |
parent | b214af5360439ebd36f5ae3439acacdaf3055433 (diff) |
Improve get_rate_ctr() error handling
Report back expected interval values.
Change-Id: I05ca7f716342af4f7424b28216ed6c1bf2bd589f
Related: OS#2550
Diffstat (limited to 'src')
-rw-r--r-- | src/ctrl/control_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index 590f74d0..38e7aef4 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -597,7 +597,7 @@ static int get_rate_ctr(struct ctrl_cmd *cmd, void *data) return CTRL_CMD_REPLY; } else { talloc_free(dup); - cmd->reply = "Wrong interval."; + cmd->reply = "Wrong interval. Expecting 'per_sec', 'per_min', 'per_hour', 'per_day' or 'abs' value."; goto err; } |