aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iec104.c
diff options
context:
space:
mode:
authorJiří Engelthaler <engycz@gmail.com>2015-05-06 17:34:54 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-05-07 11:53:52 +0000
commitd8ccd27181e37c9846ec8ac6ffd4eccb33840016 (patch)
treee7c57440965d01e0f1348faadb8b86909a15df0b /epan/dissectors/packet-iec104.c
parent7771ed2faabd60975151ee131f1c67459c50eb54 (diff)
packet-iec104: make object number filterable if SQ flag is set
Make object number filterable again if SQ flag is set which breaks my commit 785fab7f Sample capture https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=IEC104_SQ.pcapng Change-Id: I450b86452876fab26e1a9f1bfc2f729573c52124 Reviewed-on: https://code.wireshark.org/review/8313 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-iec104.c')
-rw-r--r--epan/dissectors/packet-iec104.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-iec104.c b/epan/dissectors/packet-iec104.c
index 4636b72e96..4a15d94692 100644
--- a/epan/dissectors/packet-iec104.c
+++ b/epan/dissectors/packet-iec104.c
@@ -1203,7 +1203,10 @@ static void dissect_iec104asdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
/* -------- following Information object address depending on SQ */
if (asduh.SQ) /* <=> SQ=1, info obj addr = startaddr++ */
{
+ proto_item *ti;
asdu_info_obj_addr++;
+ ti = proto_tree_add_uint(trSignal, hf_ioa, tvb, 0, 0, asdu_info_obj_addr);
+ PROTO_ITEM_SET_GENERATED(ti);
} else { /* SQ=0, info obj addr given */
/* -------- Information object address */
/* check length */