diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-11-12 12:57:36 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-11-12 20:53:01 +0000 |
commit | ae1630db71c7a2d4db87b2ad502f84bd3dca0894 (patch) | |
tree | 626388d0908034c6bb5ed0459547db0f712a61c6 /epan/dissectors/packet-msnip.c | |
parent | 54aea456331825be6f802edec510e4cb2e6cc34a (diff) |
Fix warning: no previous prototype for function ... [-Wmissing-prototypes]
warning coming after g055e4768ece and g421913b721
Change-Id: I5caeeb89c559faef8007f2946c68c7172b75dfa8
Reviewed-on: https://code.wireshark.org/review/5250
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-msnip.c')
-rw-r--r-- | epan/dissectors/packet-msnip.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-msnip.c b/epan/dissectors/packet-msnip.c index dd85598f5c..a111645bcc 100644 --- a/epan/dissectors/packet-msnip.c +++ b/epan/dissectors/packet-msnip.c @@ -42,6 +42,7 @@ #include "packet-igmp.h" void proto_register_msnip(void); +void proto_reg_handoff_msnip(void); static int proto_msnip = -1; static int hf_checksum = -1; @@ -211,7 +212,7 @@ dissect_msnip_gm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int /* This function is only called from the IGMP dissector */ -int +static int dissect_msnip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_) { proto_tree *tree; @@ -220,9 +221,9 @@ dissect_msnip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* int offset = 0; guint32 dst = g_htonl(MC_ALL_IGMPV3_ROUTERS); - /* Shouldn't be destined for us */ + /* Shouldn't be destined for us */ if (memcmp(pinfo->dst.data, &dst, 4)) - return 0; + return 0; col_set_str(pinfo->cinfo, COL_PROTOCOL, "MSNIP"); col_clear(pinfo->cinfo, COL_INFO); |