mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-23 20:21:53 +00:00
Remove redundant send_from logging code.
This commit is contained in:
1 parent
89382bacaa
commit
50303b19d8
4 files changed
+8
-15
No files matched your search
+1
-5
@@ -158,11 +158,7 @@ time_t periodic_slaac(time_t now, struct dhcp_lease *leases)
|
||||
if (sendto(daemon->icmp6fd, daemon->outpacket.iov_base, save_counter(0), 0,
|
||||
(struct sockaddr *)&addr, sizeof(addr)) == -1 &&
|
||||
errno == EHOSTUNREACH)
|
||||
{
|
||||
slaac->ping_time = 0; /* Give up */
|
||||
inet_ntop(AF_INET6, &addr, daemon->addrbuff, ADDRSTRLEN);
|
||||
my_syslog(MS_DHCP | LOG_INFO, "SLAAC-HOSTUNREACH %s", daemon->addrbuff);
|
||||
}
|
||||
slaac->ping_time = 0; /* Give up */
|
||||
else
|
||||
{
|
||||
slaac->ping_time += (1 << (slaac->backoff - 1)) + (rand16()/21785); /* 0 - 3 */
|
||||
|
||||
Reference in new issue
Block a user