forked from osmocom/wireshark
From Dirk Jagdmann: Use a guint32 for IPv4 addresses. Fixes compilation
on OS X + Cmake. svn path=/trunk/; revision=50139
This commit is contained in:
parent
a75e89c787
commit
03febfc819
|
@ -181,8 +181,8 @@ static int hdr_ipv6 = FALSE;
|
|||
static long hdr_ip_proto = 0;
|
||||
|
||||
/* Destination and source addresses for IP header */
|
||||
static unsigned long hdr_ip_dest_addr = 0;
|
||||
static unsigned long hdr_ip_src_addr = 0;
|
||||
static guint32 hdr_ip_dest_addr = 0;
|
||||
static guint32 hdr_ip_src_addr = 0;
|
||||
static guint8 hdr_ipv6_dest_addr[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
static guint8 hdr_ipv6_src_addr[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
static guint8 NO_IPv6_ADDRESS[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
|
Loading…
Reference in New Issue