forked from osmocom/wireshark
[GCP] Add a command string when there's no context tracking.
Change-Id: I26235f172d97e5c4f6e52d3816675deb1849d988 Reviewed-on: https://code.wireshark.org/review/8450 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
6d1b6f4692
commit
51c3fc6da2
|
@ -380,6 +380,9 @@ gcp_cmd_t* gcp_cmd(gcp_msg_t* m, gcp_trx_t* t, gcp_ctx_t* c, gcp_cmd_type_t type
|
|||
cmd->terms.last = &(cmd->terms);
|
||||
cmd->str = NULL;
|
||||
cmd->msg = m;
|
||||
if ((type != GCP_CMD_NONE) && (!persistent)){
|
||||
cmd->str = val_to_str_const(type, gcp_cmd_type, "Unknown");
|
||||
}
|
||||
cmd->trx = t;
|
||||
cmd->ctx = c;
|
||||
cmd->error = 0;
|
||||
|
|
Loading…
Reference in New Issue