forked from osmocom/wireshark
Include .h into .c to make sure declarations match.
Fix a copy/paste in the .h surrounding ifndef. One char -> const char fix. svn path=/trunk/; revision=15157
This commit is contained in:
parent
44cbbf1039
commit
38d1c38e99
|
@ -110,6 +110,7 @@
|
|||
#include <epan/packet.h>
|
||||
#include <epan/ipproto.h>
|
||||
#include <epan/in_cksum.h>
|
||||
#include "packet-igmp.h"
|
||||
#include "packet-dvmrp.h"
|
||||
#include "packet-pim.h"
|
||||
#include "packet-mrdisc.h"
|
||||
|
@ -649,7 +650,7 @@ dissect_igmp_v0(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int type, i
|
|||
static int
|
||||
dissect_igmp_mtrace(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int type, int offset)
|
||||
{
|
||||
char *typestr, *blocks = NULL;
|
||||
const char *typestr, *blocks = NULL;
|
||||
char buf[20];
|
||||
|
||||
/* All multicast traceroute packets (Query, Request and
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __PACKET_MSNIP_H__
|
||||
#define __PACKET_MSNIP_H__
|
||||
#ifndef __PACKET_IGMP_H__
|
||||
#define __PACKET_IGMP_H__
|
||||
|
||||
void igmp_checksum(proto_tree *tree, tvbuff_t *tvb, int hf_index,
|
||||
int hf_index_bad, packet_info *pinfo, guint len);
|
||||
|
|
Loading…
Reference in New Issue