aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h225.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-08-01 09:16:47 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-08-01 09:16:47 +0000
commit618fff963a2870c905ce6681903d1fcbc1f06d34 (patch)
tree691423da9e5986f06e3daed717d3893f24c15d05 /packet-h225.c
parent90bf936ffa01bb1c8fbb0351f896cbf9c4f81dd2 (diff)
Fix bug on how the H.225 CS routines were registered so that H225 CS over Q931 now works
Still something wrong with NonStandardParameter, I cant find why ethereal is wrong but it misses misses one bit in the decoding causing malformed frames. I cant see what is wrong when looking at the packets. need furhter investigations. Make h225 compile in as default svn path=/trunk/; revision=8119
Diffstat (limited to 'packet-h225.c')
-rw-r--r--packet-h225.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/packet-h225.c b/packet-h225.c
index 8507642bac..5c6d5eaa64 100644
--- a/packet-h225.c
+++ b/packet-h225.c
@@ -1,10 +1,8 @@
-/*this is very incomplete, please report problems, bugs, suggestions for
- cosmetic enhancements etc */
/* packet-h225.c
* Routines for H.225 packet dissection
* 2003 Ronnie Sahlberg
*
- * $Id: packet-h225.c,v 1.1 2003/07/31 10:35:07 sahlberg Exp $
+ * $Id: packet-h225.c,v 1.2 2003/08/01 09:16:46 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -6835,7 +6833,7 @@ static per_choice_t h323_message_body_choice[] = {
dissect_h225_InformationUUIE },
{ 5, "releaseComplete", EXTENSION_ROOT,
dissect_h225_ReleaseCompleteUUIE },
- { 6, "facility", NOT_EXTENSION_ROOT,
+ { 6, "facility", EXTENSION_ROOT,
dissect_h225_FacilityUUIE },
{ 7, "progress", NOT_EXTENSION_ROOT,
dissect_h225_ProgressUUIE },
@@ -8105,7 +8103,7 @@ dissect_h225_RasMessage(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static per_sequence_t H323_UserInformation_sequence[] = {
{ "h323_uu_pdu", EXTENSION_ROOT, NOT_OPTIONAL,
dissect_h225_H323_UU_PDU },
- { "user_data", EXTENSION_ROOT, NOT_OPTIONAL,
+ { "user_data", EXTENSION_ROOT, OPTIONAL,
dissect_h225_user_data },
{ NULL, 0, 0, NULL }
};
@@ -9789,6 +9787,7 @@ proto_register_h225(void)
"Reassemble H.225 over TCP",
"Whether the dissector should reassemble H.225 PDUs spanning multiple TCP segments",
&h225_reassembly);
+ register_dissector("h225", dissect_h225_H323UserInformation, proto_h225);
}
void
@@ -9798,9 +9797,6 @@ proto_reg_handoff_h225(void)
H323UserInformation_handle=create_dissector_handle(dissect_h225_H323UserInformation, proto_h225);
- dissector_add("tcp.port", TCP_PORT_CS, H323UserInformation_handle);
-
dissector_add("udp.port", UDP_PORT_RAS1, h225ras_handle);
dissector_add("udp.port", UDP_PORT_RAS2, h225ras_handle);
-
}