summaryrefslogtreecommitdiff
path: root/server/componentIGMP.c
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2010-12-02 09:46:57 +0100
committerFrank Schmirler <vdr@schmirler.de>2010-12-02 09:46:57 +0100
commit435f01649c2ee8c23c21e0680d0a39e773008549 (patch)
treecf171b97a5ff3a23ca5a914716a1bc86e8eaf50a /server/componentIGMP.c
parent396fc43bddac7919ad37d89393210e5859da4850 (diff)
downloadvdr-plugin-streamdev-435f01649c2ee8c23c21e0680d0a39e773008549.tar.gz
vdr-plugin-streamdev-435f01649c2ee8c23c21e0680d0a39e773008549.tar.bz2
Snapshot 2009-07-06
Diffstat (limited to 'server/componentIGMP.c')
-rw-r--r--server/componentIGMP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/componentIGMP.c b/server/componentIGMP.c
index 946c513..d9f8811 100644
--- a/server/componentIGMP.c
+++ b/server/componentIGMP.c
@@ -1,5 +1,5 @@
/*
- * $Id: componentIGMP.c,v 1.1 2009/02/13 10:39:22 schmirl Exp $
+ * $Id: componentIGMP.c,v 1.2 2009/07/03 21:44:19 schmirl Exp $
*/
#include <netinet/ip.h>
#include <netinet/igmp.h>
@@ -209,7 +209,7 @@ cServerConnection* cComponentIGMP::Accept(void)
igmp->igmp_cksum = 0;
if (chksum != inetChecksum((uint16_t *)igmp, ip_datalen))
{
- esyslog("INVALID CHECKSUM %d %d %d %d 0x%x 0x%x", ntohs(ip->ip_len), ip_hdrlen, ip_datalen, recv_len, chksum, inetChecksum((uint16_t *)igmp, ip_datalen));
+ esyslog("INVALID CHECKSUM %d %d %d %lu 0x%x 0x%x", (int) ntohs(ip->ip_len), ip_hdrlen, ip_datalen, (unsigned long int) recv_len, chksum, inetChecksum((uint16_t *)igmp, ip_datalen));
return NULL;
}
logIGMP(igmp->igmp_type, ip->ip_src, ip->ip_dst, igmp->igmp_group);