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:
Gerald Combs 2013-06-25 13:31:19 +00:00
parent a75e89c787
commit 03febfc819
1 changed files with 2 additions and 2 deletions

View File

@ -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};