Fix socklen_t/size_t confusion in radv.c

This commit is contained in:
Simon Kelley
2012-03-01 10:26:16 +00:00
parent b7f4020133
commit 7b6dd880f7

View File

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