aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@schlosser.xyz>2017-07-24 13:45:10 +0200
committerRoland Knall <rknall@gmail.com>2017-07-24 13:27:22 +0000
commit690cb8ff65f3336cb8e72a55944f974d0fd40f05 (patch)
tree793b9979f2f8b0994325d01a5f87779a0e4958ed
parent7a4c9d267bd245f19796a5fea3b21b18ed57f870 (diff)
EPL: Add Modular device flag
Add detection for the modular device flag in POWERLINK. Change-Id: I3e21eec383f1bdf2fa491d415631cda146a0fdef Reviewed-on: https://code.wireshark.org/review/22774 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
-rw-r--r--epan/dissectors/packet-epl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c
index 3b553c4f29..0d3734a4f6 100644
--- a/epan/dissectors/packet-epl.c
+++ b/epan/dissectors/packet-epl.c
@@ -1507,6 +1507,7 @@ static gint hf_epl_asnd_identresponse_feat_bit11 = -1;
static gint hf_epl_asnd_identresponse_feat_bit12 = -1;
static gint hf_epl_asnd_identresponse_feat_bit13 = -1;
static gint hf_epl_asnd_identresponse_feat_bit14 = -1;
+static gint hf_epl_asnd_identresponse_feat_bit21 = -1;
static gint hf_epl_asnd_identresponse_mtu = -1;
static gint hf_epl_asnd_identresponse_pis = -1;
static gint hf_epl_asnd_identresponse_pos = -1;
@@ -3320,6 +3321,7 @@ dissect_epl_asnd_ires(struct epl_convo *convo, proto_tree *epl_tree, tvbuff_t *t
proto_tree_add_item(epl_feat_tree, hf_epl_asnd_identresponse_feat_bit12, tvb, offset, 4, ENC_LITTLE_ENDIAN);
proto_tree_add_item(epl_feat_tree, hf_epl_asnd_identresponse_feat_bit13, tvb, offset, 4, ENC_LITTLE_ENDIAN);
proto_tree_add_item(epl_feat_tree, hf_epl_asnd_identresponse_feat_bit14, tvb, offset, 4, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(epl_feat_tree, hf_epl_asnd_identresponse_feat_bit21, tvb, offset, 4, ENC_LITTLE_ENDIAN);
offset += 4;
proto_tree_add_item(epl_tree, hf_epl_asnd_identresponse_mtu, tvb, offset, 2, ENC_LITTLE_ENDIAN);
@@ -5509,6 +5511,10 @@ proto_register_epl(void)
{ "Dynamic Node Allocation", "epl.asnd.ires.features.bit14",
FT_BOOLEAN, 32, NULL, 0x100000, NULL, HFILL }
},
+ { &hf_epl_asnd_identresponse_feat_bit21,
+ { "Modular Device", "epl.asnd.ires.features.bit21",
+ FT_BOOLEAN, 32, NULL, 0x00200000, NULL, HFILL }
+ },
{ &hf_epl_asnd_identresponse_mtu,
{ "MTU", "epl.asnd.ires.mtu",
FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }