summaryrefslogtreecommitdiff
path: root/packet-h245.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-07-16 08:53:08 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-07-16 08:53:08 +0000
commitcc4aeb23e6c72d4ddc21cc12ab730cf484e12d66 (patch)
tree2cc6e4e1e185facf0a0c148bb96a664d6fd30bd8 /packet-h245.c
parentd25a4feb53abb0b0544f7374b95d6f4d71dca492 (diff)
downloadwireshark-cc4aeb23e6c72d4ddc21cc12ab730cf484e12d66.tar.gz
remove a function that was not used/obsolete
fix an instance where the wrong dissector was called instead of RequestMultiplexEntryRejectionDescriptions. svn path=/trunk/; revision=8031
Diffstat (limited to 'packet-h245.c')
-rw-r--r--packet-h245.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/packet-h245.c b/packet-h245.c
index d7ae9a8e45..fc3db80461 100644
--- a/packet-h245.c
+++ b/packet-h245.c
@@ -67,7 +67,7 @@ All in all a lot of work.
* with great support with testing and providing capturefiles
* from Martin Regner
*
- * $Id: packet-h245.c,v 1.20 2003/07/16 08:38:16 sahlberg Exp $
+ * $Id: packet-h245.c,v 1.21 2003/07/16 08:53:08 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -15876,6 +15876,14 @@ dissect_h245_MultiplexEntrySendAck(tvbuff_t *tvb, int offset, packet_info *pinfo
static int
+dissect_h245_RMErejectionDescriptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
+{
+ offset=dissect_per_constrained_set_of(tvb, offset, pinfo, tree, hf_h245_rejectionDescriptions, ett_h245_rejectionDescriptions, dissect_h245_RequestMultiplexEntryRejectionDescriptions, 1, 15);
+ return offset;
+}
+
+
+static int
dissect_h245_rejectionDescriptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
offset=dissect_per_constrained_set_of(tvb, offset, pinfo, tree, hf_h245_rejectionDescriptions, ett_h245_rejectionDescriptions, dissect_h245_MultiplexEntryRejectionDescriptions, 1, 15);
@@ -15950,7 +15958,7 @@ static per_sequence_t RequestMultiplexEntryReject_sequence[] = {
{ "entryNumbers", EXTENSION_ROOT, NOT_OPTIONAL,
dissect_h245_entryNumbers },
{ "rejectionDescriptions", EXTENSION_ROOT, NOT_OPTIONAL,
- dissect_h245_rejectionDescriptions },
+ dissect_h245_RMErejectionDescriptions },
{ NULL, 0, 0, NULL }
};
static int
@@ -16640,13 +16648,6 @@ static per_sequence_t MultipointCapability_sequence[] = {
{ NULL, 0, 0, NULL }
};
static int
-dissect_h245_MultipointCapability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
-{
- offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h245_MultipointCapability, ett_h245_MultipointCapability, MultipointCapability_sequence);
-
- return offset;
-}
-static int
dissect_h245_receiveMultipointCapability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h245_receiveMultipointCapability, ett_h245_MultipointCapability, MultipointCapability_sequence);