ctrl: Provide a reply in case the range check failed
diff --git a/openbsc/include/openbsc/control_cmd.h b/openbsc/include/openbsc/control_cmd.h
index d6292be..a0ea055 100644
--- a/openbsc/include/openbsc/control_cmd.h
+++ b/openbsc/include/openbsc/control_cmd.h
@@ -110,6 +110,7 @@
 	if ((tmp >= min)&&(tmp <= max)) { \
 		return 0; \
 	} \
+	cmd->reply = "Input not within the range"; \
 	return -1; \
 } \
 static struct ctrl_cmd_element cmd_##cmdname = { \