diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-01-28 16:34:22 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-01-28 16:34:22 +0000 |
commit | 6dbeabfc6fcffd253671e59e5f8234d69015c007 (patch) | |
tree | fc5bd1da9d789027ef1b4eb229611afb225f6dd8 /epan/dissectors/packet-meta.c | |
parent | 95c9d2c52f798f5c8cfdb59157d7afde5abe02ec (diff) |
From Tobias Witek:
Allow dissectors to indicate that an ATM AAL5 frame contains SSCOP.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6717
svn path=/trunk/; revision=40750
Diffstat (limited to 'epan/dissectors/packet-meta.c')
-rw-r--r-- | epan/dissectors/packet-meta.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-meta.c b/epan/dissectors/packet-meta.c index da0e290e60..16658ca381 100644 --- a/epan/dissectors/packet-meta.c +++ b/epan/dissectors/packet-meta.c @@ -391,6 +391,9 @@ static guint16 evaluate_meta_item_dxt(proto_tree *meta_tree, tvbuff_t *tvb, pack switch (aal5proto) { case META_AAL5PROTO_MTP3: p_sscop_info->subdissector = sscf_nni_handle; + /* hint for ATM dissector that this frame contains SSCOP */ + memset(&pinfo->pseudo_header->atm, 0, sizeof(pinfo->pseudo_header->atm)); + pinfo->pseudo_header->atm.type = TRAF_SSCOP; break; case META_AAL5PROTO_ALCAP: p_sscop_info->subdissector = alcap_handle; |