aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/control_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/control_cmd.h')
-rw-r--r--openbsc/include/openbsc/control_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/control_cmd.h b/openbsc/include/openbsc/control_cmd.h
index d6292be42..a0ea055ce 100644
--- a/openbsc/include/openbsc/control_cmd.h
+++ b/openbsc/include/openbsc/control_cmd.h
@@ -110,6 +110,7 @@ static int verify_##cmdname(struct ctrl_cmd *cmd, const char *value, void *_data
if ((tmp >= min)&&(tmp <= max)) { \
return 0; \
} \
+ cmd->reply = "Input not within the range"; \
return -1; \
} \
static struct ctrl_cmd_element cmd_##cmdname = { \