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
|
@ -1544,12 +1544,20 @@ dissect_vt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, enum vt_directio
|
||||||
get_object_id_string(auxiliary_input_object_id));
|
get_object_id_string(auxiliary_input_object_id));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
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",
|
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));
|
get_object_id_string(auxiliary_input_object_id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case VT_AUXILIARY_INPUT_TYPE_2_STATUS:
|
case VT_AUXILIARY_INPUT_TYPE_2_STATUS:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue