From 7b6dd880f77b63aff8fb77580cd845c6a6b625f2 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Thu, 1 Mar 2012 10:26:16 +0000 Subject: [PATCH] Fix socklen_t/size_t confusion in radv.c --- src/radv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radv.c b/src/radv.c index 544d947..81d853f 100644 --- a/src/radv.c +++ b/src/radv.c @@ -54,7 +54,7 @@ void ra_init(time_t now) int class = IPTOS_CLASS_CS6; #endif int val = 255; /* radvd uses this value */ - size_t len = sizeof(int); + socklen_t len = sizeof(int); /* ensure this is around even if we're not doing DHCPv6 */ expand_buf(&daemon->outpacket, sizeof(struct dhcp_packet));