summaryrefslogtreecommitdiff
path: root/asn1/lte-rrc
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-12-17 23:16:57 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-12-17 23:16:57 +0000
commit3003b32cdd904e177871551fe8cda93c5376347b (patch)
treea009a3bc201912d108dd276216404a52627741c2 /asn1/lte-rrc
parentc9c32db1870e604415aefd8e34e6efa23f5cf4b8 (diff)
downloadwireshark-3003b32cdd904e177871551fe8cda93c5376347b.tar.gz
Update S1AP to the latest spec rename nas_eps nas-eps.
svn path=/trunk/; revision=27042
Diffstat (limited to 'asn1/lte-rrc')
-rw-r--r--asn1/lte-rrc/lte-rrc.cnf2
-rw-r--r--asn1/lte-rrc/packet-lte-rrc-template.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/asn1/lte-rrc/lte-rrc.cnf b/asn1/lte-rrc/lte-rrc.cnf
index 09f6b4cea5..2f30be3c57 100644
--- a/asn1/lte-rrc/lte-rrc.cnf
+++ b/asn1/lte-rrc/lte-rrc.cnf
@@ -26,6 +26,6 @@ UL-DCCH-Message @ul.dcch
%(DEFAULT_BODY)s
- if (nas_eps_tvb)
+ if ((nas_eps_tvb)&&(nas_eps_handle))
call_dissector(nas_eps_handle,nas_eps_tvb,%(ACTX)s->pinfo, proto_tree_get_root(tree));
diff --git a/asn1/lte-rrc/packet-lte-rrc-template.c b/asn1/lte-rrc/packet-lte-rrc-template.c
index 6a6f88f306..f7db4c397d 100644
--- a/asn1/lte-rrc/packet-lte-rrc-template.c
+++ b/asn1/lte-rrc/packet-lte-rrc-template.c
@@ -46,7 +46,7 @@
#define PSNAME "LTE RRC"
#define PFNAME "lte_rrc"
-static dissector_handle_t nas_eps_handle;
+static dissector_handle_t nas_eps_handle = NULL;
/* Include constants */
#include "packet-lte-rrc-val.h"
@@ -121,7 +121,7 @@ void
proto_reg_handoff_lte_rrc(void)
{
- nas_eps_handle = find_dissector("nas_eps");
+ nas_eps_handle = find_dissector("nas-eps");
}