mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix socklen_t/size_t confusion in radv.c
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user