ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 6447] Added support for GPRS NS over ATM AAL5

Date: Tue, 11 Oct 2011 12:12:02 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6447

--- Comment #8 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2011-10-11 12:12:00 PDT ---
Hi,
Is this change intentional? it looks unrelated.
@@ -491,12 +498,11 @@
                     next_dissector = atm_untrunc_handle;
                     break;
                 case META_PROTO_DXT_ERF_AAL5:
-                    /* fake erf pseudo header */
-                    memset(&pinfo->pseudo_header->erf, 0,
sizeof(pinfo->pseudo_header->erf));
-                    pinfo->pseudo_header->erf.phdr.type = ERF_TYPE_AAL5;
-                    /* store p2p direction in ERF flags */
-                    pinfo->pseudo_header->erf.phdr.flags |= pinfo->p2p_dir;
-                    next_dissector = erf_handle;
+                    atm_hdr = tvb_get_ntohl(tvb, item_len + META_HEADER_SIZE);
item_len += 4;
+                    pinfo->pseudo_header->atm.vpi = ((atm_hdr & 0x0ff00000) >>
20);
+                    pinfo->pseudo_header->atm.vci = ((atm_hdr & 0x000ffff0) >>
 4);
+                    pinfo->pseudo_header->atm.aal = AAL_5;
+                    next_dissector = atm_untrunc_handle;
                     break;

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.