aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h248
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-02-03 18:26:37 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-02-03 18:26:37 +0000
commit183f0e934c681b494e53d6ff51c1a716f1647449 (patch)
treea66202023ff34aed8944e54a45d9aa48ad3bc790 /asn1/h248
parenta3fc8f5f459ec8a841ede98b847edb5287237d7f (diff)
Create a list of MTP Service Indicator macros and use them.
svn path=/trunk/; revision=40828
Diffstat (limited to 'asn1/h248')
-rw-r--r--asn1/h248/packet-h248-template.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c
index 977f0f49ef..932817f9dd 100644
--- a/asn1/h248/packet-h248-template.c
+++ b/asn1/h248/packet-h248-template.c
@@ -33,14 +33,12 @@
#include <epan/tap.h>
#include "packet-tpkt.h"
#include <ctype.h>
+#include "packet-mtp3.h"
#define PNAME "H.248 MEGACO"
#define PSNAME "H248"
#define PFNAME "h248"
-#define GATEWAY_CONTROL_PROTOCOL_USER_ID 14
-
-
/* Initialize the protocol and registered fields */
static int proto_h248 = -1;
static int hf_h248_mtpaddress_ni = -1;
@@ -1537,7 +1535,7 @@ void proto_reg_handoff_h248(void) {
if (!initialized) {
h248_handle = find_dissector("h248");
h248_tpkt_handle = find_dissector("h248.tpkt");
- dissector_add_uint("mtp3.service_indicator", GATEWAY_CONTROL_PROTOCOL_USER_ID, h248_handle);
+ dissector_add_uint("mtp3.service_indicator", MTP_SI_GCP, h248_handle);
h248_term_handle = find_dissector("h248term");
initialized = TRUE;
} else {