summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-dvbci.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-11-14 21:44:05 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-11-14 21:44:05 +0000
commitef7e1f107c474fc2f2b1c128df8435fa151d8b1a (patch)
treede38887378839732ba389833c0b73fe96243830c /epan/dissectors/packet-dvbci.c
parentc333b6f1f5ccad25e7510f52f80750a38c144246 (diff)
downloadwireshark-ef7e1f107c474fc2f2b1c128df8435fa151d8b1a.tar.gz
fix application capability handling
svn path=/trunk/; revision=53322
Diffstat (limited to 'epan/dissectors/packet-dvbci.c')
-rw-r--r--epan/dissectors/packet-dvbci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dvbci.c b/epan/dissectors/packet-dvbci.c
index d24f940529..28d7b34654 100644
--- a/epan/dissectors/packet-dvbci.c
+++ b/epan/dissectors/packet-dvbci.c
@@ -1724,7 +1724,7 @@ dissect_opp_cap_loop(guint8 cap_loop_len, const gchar *title,
if (!title)
return -1;
- if (item_len==0 || cap_loop_len%item_len != 0)
+ if (item_len==0)
return -1;
if (tree && cap_loop_len>0) {
@@ -3796,6 +3796,7 @@ dissect_dvbci_payload_opp(guint32 tag, gint len_field _U_,
cap_loop_len = tvb_get_guint8(tvb, offset);
proto_tree_add_text(tree, tvb, offset, 1,
"Application capabilities loop length: %d", cap_loop_len);
+ offset++;
dissect_opp_cap_loop(cap_loop_len,
"Application capabilities loop",
hf_dvbci_app_cap_bytes, 2,