aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-08-19 08:05:04 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-08-19 08:05:04 +0000
commitbafcc127f85863fc78834dc1479764e8436b47b9 (patch)
treeda5f4fb94891a209f07b3bf2edeea02d504256d3 /epan/dissectors/packet-bssap.c
parente8ba2515def69393b68f290284f6e5433a29d0f1 (diff)
From Neil Piercy:
RR has been split from DTAP, with common stuff going to the common files (plus a few minor knock-on consequences). Fix the broken tap: I had not realised that the register_tap call in the dissector registration actually _created_ the tap entry (not the register_tap_listener), and not just associated the tap_id returned with the tap registered by the listener. The use of separate statics by the split lead to 3 taps called "gsm_a", but only the first of which was ever found in the tap_queue_packet. Added (yet another) global for now to cope. Also attached is a patch to tap.c which simply returns the same tap_id if the register_tap is called twice with the same name - I can't see any downside to this, can you? Anyway it seemed to work with deliberately keeping multiple calls. svn path=/trunk/; revision=26039
Diffstat (limited to 'epan/dissectors/packet-bssap.c')
-rw-r--r--epan/dissectors/packet-bssap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/epan/dissectors/packet-bssap.c b/epan/dissectors/packet-bssap.c
index 1946a91b24..cdcfb9b248 100644
--- a/epan/dissectors/packet-bssap.c
+++ b/epan/dissectors/packet-bssap.c
@@ -54,9 +54,9 @@
#include <epan/emem.h>
#include "packet-bssap.h"
+#include "packet-sccp.h"
#include "packet-gsm_a_common.h"
#include "packet-e212.h"
-#include "packet-sccp.h"
static void init_bssap(void);
@@ -602,12 +602,6 @@ dissect_bssap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* BSSAP+ Routines
*/
-typedef struct dgt_set_t
-{
- unsigned char out[15];
-}
-dgt_set_t;
-
#ifdef REMOVED
static dgt_set_t Dgt_tbcd = {
{