aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-msn-messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-msn-messenger.c')
-rw-r--r--epan/dissectors/packet-msn-messenger.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-msn-messenger.c b/epan/dissectors/packet-msn-messenger.c
index d1a148f7aa..111afd1dda 100644
--- a/epan/dissectors/packet-msn-messenger.c
+++ b/epan/dissectors/packet-msn-messenger.c
@@ -59,8 +59,8 @@ static gint ett_msnms = -1;
#define TCP_PORT_MSNMS 1863
-static void
-dissect_msnms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+static int
+dissect_msnms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
proto_tree *msnms_tree;
proto_item *ti;
@@ -113,6 +113,7 @@ dissect_msnms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset = next_offset;
}
}
+ return tvb_captured_length(tvb);
}
void
@@ -131,7 +132,7 @@ proto_reg_handoff_msnms(void)
{
dissector_handle_t msnms_handle;
- msnms_handle = create_dissector_handle(dissect_msnms, proto_msnms);
+ msnms_handle = new_create_dissector_handle(dissect_msnms, proto_msnms);
dissector_add_uint("tcp.port", TCP_PORT_MSNMS, msnms_handle);
/*
* For MSN Messenger Protocol over HTTP