summaryrefslogtreecommitdiff
path: root/asn1/rnsap/packet-rnsap-template.c
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-05-24 12:30:38 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-05-24 12:30:38 +0000
commit062d80f7b8739a89336334ed5f7ed6d2db1ec637 (patch)
tree10a38c7b3ca5b4eb2776fb762cd7019d879d7aa3 /asn1/rnsap/packet-rnsap-template.c
parentb0f2653497df6211a9982b682c398948fa9f2241 (diff)
downloadwireshark-062d80f7b8739a89336334ed5f7ed6d2db1ec637.tar.gz
- RNSAP calls RRC through dissector handle instead of direct function call
- PER dissectors regenerated svn path=/trunk/; revision=21919
Diffstat (limited to 'asn1/rnsap/packet-rnsap-template.c')
-rw-r--r--asn1/rnsap/packet-rnsap-template.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/asn1/rnsap/packet-rnsap-template.c b/asn1/rnsap/packet-rnsap-template.c
index 45dfd9fe9d..92532925da 100644
--- a/asn1/rnsap/packet-rnsap-template.c
+++ b/asn1/rnsap/packet-rnsap-template.c
@@ -41,10 +41,7 @@
#include <epan/asn1.h>
-#include "packet-ber.h"
#include "packet-per.h"
-#include "packet-umts_rrc.h"
-/*#include "packet-umts_rrc.h"*/
#define PNAME "UTRAN Iur interface Radio Network Subsystem Application Part"
#define PSNAME "RNSAP"
@@ -54,7 +51,9 @@
#include "packet-rnsap-val.h"
-static dissector_handle_t rnsap_handle=NULL;
+static dissector_handle_t rnsap_handle = NULL;
+
+static dissector_handle_t rrc_dl_dcch_handle = NULL;
/* Initialize the protocol and registered fields */
static int proto_rnsap = -1;
@@ -180,6 +179,8 @@ void
proto_reg_handoff_rnsap(void)
{
+ rrc_dl_dcch_handle = find_dissector("rrc.dl.dcch");
+
dissector_add("sccp.ssn", SCCP_SSN_RNSAP, rnsap_handle);
/* Add heuristic dissector
* Perhaps we want a preference whether the heuristic dissector