summaryrefslogtreecommitdiff
path: root/asn1/idmp
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2010-06-09 14:45:38 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2010-06-09 14:45:38 +0000
commitcfdd4788cf7420dc403e99d8d24313cb300f61f3 (patch)
tree61bd0bcdb54c4a07d67f128b8d5ce18f98442ee0 /asn1/idmp
parent70c26add0af7cb4c5fb96e5754bc69effa47f881 (diff)
downloadwireshark-cfdd4788cf7420dc403e99d8d24313cb300f61f3.tar.gz
Updates to the ROS dissector to support IDMP and fix to IDMP for implicit declaration of return value of call_ros_oid_callback().
svn path=/trunk/; revision=33182
Diffstat (limited to 'asn1/idmp')
-rw-r--r--asn1/idmp/packet-idmp-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c
index a8b7ede925..759348f242 100644
--- a/asn1/idmp/packet-idmp-template.c
+++ b/asn1/idmp/packet-idmp-template.c
@@ -107,7 +107,7 @@ static const fragment_items idmp_frag_items = {
};
-static call_idmp_oid_callback(tvbuff_t *tvb, int offset, packet_info *pinfo, int op, proto_tree *tree)
+static int call_idmp_oid_callback(tvbuff_t *tvb, int offset, packet_info *pinfo, int op, proto_tree *tree)
{
struct SESSION_DATA_STRUCTURE *session;
@@ -143,7 +143,7 @@ register_idmp_protocol_info(const char *oid, const ros_info_t *rinfo, int proto
}
-static gint dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
+static int dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
{
int offset = 0;