Isobus-VT: Fix description of auxiliary input status enable message
Show if message indicates that auxiliary input was enabled or disabled
This commit is contained in:
parent
2468cfefe2
commit
0ceaaad763
|
@ -1545,8 +1545,16 @@ dissect_vt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, enum vt_directio
|
|||
}
|
||||
else
|
||||
{
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "Status of Auxiliary Input %s was successfully changed to enabled",
|
||||
get_object_id_string(auxiliary_input_object_id));
|
||||
if (status == 0)
|
||||
{
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "Status of Auxiliary Input %s was successfully changed to disabled",
|
||||
get_object_id_string(auxiliary_input_object_id));
|
||||
}
|
||||
else if (status == 1)
|
||||
{
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "Status of Auxiliary Input %s was successfully changed to enabled",
|
||||
get_object_id_string(auxiliary_input_object_id));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue