summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Roland <Lars.Roland@gmx.net>2005-01-17 23:42:22 +0000
committerLars Roland <Lars.Roland@gmx.net>2005-01-17 23:42:22 +0000
commitc2435429a130d510bcf16e5c710322ecdefb7fd6 (patch)
tree4b4881c1168bba21222cf1e0d85e77019aac4657
parent4f81f615b099da56cc7c5595bbd05d8eea0a2510 (diff)
downloadwireshark-c2435429a130d510bcf16e5c710322ecdefb7fd6.tar.gz
Fix a small bug in h245.cnf.
All h.323 related statistics should work now in the same way as they did before the h323 dissectors were generated. svn path=/trunk/; revision=13105
-rw-r--r--asn1/h245/h245.cnf4
-rw-r--r--epan/dissectors/packet-h245.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index f0216d3cd3..ab312da281 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -179,9 +179,9 @@ OpenLogicalChannel
h245_pi.msg_type = H245_TermCapSetRjc;
#.END
#----------------------------------------------------------------------------------------
-#.FN_FTR H245_MastSlvDetRls
+#.FN_FTR MasterSlaveDeterminationRelease
- h245_pi.msg_type = H245_TermCapSetRjc;
+ h245_pi.msg_type = H245_MastSlvDetRls;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR TerminalCapabilitySet
diff --git a/epan/dissectors/packet-h245.c b/epan/dissectors/packet-h245.c
index 398ed96d15..bfa1d1045c 100644
--- a/epan/dissectors/packet-h245.c
+++ b/epan/dissectors/packet-h245.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-h245.c */
+/* ./packet-h245.c */
/* ../../tools/asn2eth.py -X -e -p h245 -c h245.cnf -s packet-h245-template h245.asn */
/* Input file: packet-h245-template.c */
@@ -14966,6 +14966,8 @@ dissect_h245_MasterSlaveDeterminationRelease(tvbuff_t *tvb, int offset, packet_i
offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index,
ett_h245_MasterSlaveDeterminationRelease, MasterSlaveDeterminationRelease_sequence);
+
+ h245_pi.msg_type = H245_MastSlvDetRls;
return offset;
}
static int dissect_masterSlaveDeterminationRelease(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {