mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fixed code passing tags to helper to work when there are no context tags.
Fixed call to sendto() in dhcp6.c. How did it every work before?
This commit is contained in:
committed by
Simon Kelley
parent
e44ddcac63
commit
87b8ecb13a
@@ -222,7 +222,7 @@ void dhcp6_packet(time_t now)
|
||||
lease_update_dns();
|
||||
|
||||
if (sz != 0)
|
||||
while (sendto(daemon->dhcp6fd, daemon->outpacket.iov_base, sz, 0, (struct sockaddr *)&from, sizeof(from)) &&
|
||||
while (sendto(daemon->dhcp6fd, daemon->outpacket.iov_base, sz, 0, (struct sockaddr *)&from, sizeof(from)) == -1 &&
|
||||
retry_send());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user