diff options
-rw-r--r-- | src/ctrl/control_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ctrl/control_cmd.c b/src/ctrl/control_cmd.c index c5924b2b..14ff9065 100644 --- a/src/ctrl/control_cmd.c +++ b/src/ctrl/control_cmd.c @@ -362,7 +362,8 @@ struct ctrl_cmd *ctrl_cmd_parse2(void *ctx, struct msgb *msg) goto err; } - if (!id_str_valid(tmp)) { + if (!id_str_valid(tmp) && + !(cmd->type == CTRL_TYPE_ERROR && strcmp(tmp, "err") == 0)) { LOGP(DLCTRL, LOGL_NOTICE, "Invalid %s message ID number: \"%s\"\n", get_value_string(ctrl_type_vals, cmd->type), osmo_escape_str(tmp, -1)); cmd->type = CTRL_TYPE_ERROR; |