aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/lte-rrc
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-12-17 23:16:57 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-12-17 23:16:57 +0000
commite9549cfaaffd130d015948fa2b108bd6a09eba69 (patch)
treea009a3bc201912d108dd276216404a52627741c2 /asn1/lte-rrc
parent1f375a072644acd032a00d8a55df58f03237e8a6 (diff)
Update S1AP to the latest spec rename nas_eps nas-eps.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27042 f5534014-38df-0310-8fa8-9805f1628bb7
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");
}