aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gprs-ns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-06 06:55:57 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-06 06:55:57 +0000
commitee4931cefbbfbab98494e58ea53dae11555b10d2 (patch)
tree6310bf76be23a101ed28de9d30068092b965bc1b /packet-gprs-ns.c
parent01bf043654197e7abca4f116b1b2cb1066897337 (diff)
downloadwireshark-ee4931cefbbfbab98494e58ea53dae11555b10d2.tar.gz
wireshark-ee4931cefbbfbab98494e58ea53dae11555b10d2.tar.bz2
wireshark-ee4931cefbbfbab98494e58ea53dae11555b10d2.zip
From Josef Korelus: GPRS BSSGP support.
svn path=/trunk/; revision=8403
Diffstat (limited to 'packet-gprs-ns.c')
-rw-r--r--packet-gprs-ns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-gprs-ns.c b/packet-gprs-ns.c
index 337607e223..7fda828fed 100644
--- a/packet-gprs-ns.c
+++ b/packet-gprs-ns.c
@@ -3,7 +3,7 @@
* dissection
* Copyright 2003, Josef Korelus <jkor@quick.cz>
*
- * $Id: packet-gprs-ns.c,v 1.1 2003/09/03 22:26:38 guy Exp $
+ * $Id: packet-gprs-ns.c,v 1.2 2003/09/06 06:55:57 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -98,7 +98,7 @@ static const value_string cause_val[]= {
{ 0, NULL },
};
-static dissector_handle_t data_handle;
+static dissector_handle_t bssgp_handle;
static void
dissect_gprs_ns(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
@@ -202,7 +202,7 @@ dissect_gprs_ns(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_uint(gprs_ns_tree, hf_gprs_ns_bvci, tvb, offset, 2, bvc);
offset=offset+2;
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
- call_dissector(data_handle, next_tvb, pinfo, tree);
+ call_dissector(bssgp_handle, next_tvb, pinfo, tree);
break;
case NS_STATUS:
@@ -254,5 +254,5 @@ proto_register_gprs_ns(void)
void
proto_reg_handoff_gprs_ns(void)
{
- data_handle = find_dissector("data");
+ bssgp_handle = find_dissector("bssgp");
}