From bc7eeed4c98236e1d1f63b3efa2ab11263a8b229 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 31 Jan 2006 22:39:35 +0000 Subject: [PATCH] Fix multicast routing on 64-bit platforms. Tested on: amd64 MFC after: 3 days --- sys/netinet/ip_mroute.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/ip_mroute.h b/sys/netinet/ip_mroute.h index 78119aad9187..c434572bbcfb 100644 --- a/sys/netinet/ip_mroute.h +++ b/sys/netinet/ip_mroute.h @@ -294,8 +294,8 @@ struct mfc { * note the convenient similarity to an IP packet */ struct igmpmsg { - u_long unused1; - u_long unused2; + u_int32_t unused1; + u_int32_t unused2; u_char im_msgtype; /* what type of message */ #define IGMPMSG_NOCACHE 1 /* no MFC in the kernel */ #define IGMPMSG_WRONGVIF 2 /* packet came from wrong interface */