Powerlink: Fix representation of PDO version

Show PDO version of PRes in the same way as we do it for PReq.

Change-Id: Ib433ade6cfedfcf74e9886bcfc8eba08dcddb588
Reviewed-on: https://code.wireshark.org/review/33062
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Uli Heilmeier 2019-05-03 09:34:27 +02:00 committed by Anders Broman
parent 8084dde668
commit d52b74ee4f
1 changed files with 2 additions and 2 deletions

View File

@ -2850,7 +2850,7 @@ dissect_epl_pres(struct epl_convo *convo, proto_tree *epl_tree, tvbuff_t *tvb, p
offset += 1;
pdoversion = tvb_get_guint8(tvb, offset);
proto_tree_add_item(epl_tree, hf_epl_pres_pdov, tvb, offset, 1, ENC_ASCII|ENC_NA);
proto_tree_add_item(epl_tree, hf_epl_pres_pdov, tvb, offset, 1, ENC_LITTLE_ENDIAN);
offset += 2;
/* get size of payload */
@ -5249,7 +5249,7 @@ proto_register_epl(void)
},
{ &hf_epl_pres_pdov,
{ "PDOVersion", "epl.pres.pdov",
FT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL }
FT_UINT8, BASE_CUSTOM, CF_FUNC(elp_version), 0x00, NULL, HFILL }
},
{ &hf_epl_pres_size,
{ "Size", "epl.pres.size",