Commit 7b6dd880 authored by Simon Kelley's avatar Simon Kelley

Fix socklen_t/size_t confusion in radv.c

parent b7f40201
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment