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:
Jeroen Sack 2021-08-26 19:49:18 -05:00 committed by Wireshark GitLab Utility
parent 2468cfefe2
commit 0ceaaad763
1 changed files with 10 additions and 2 deletions

View File

@ -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));
}
}
}
}