Add --quiet-* options.

This commit is contained in:
Kevin Darbyshire-Bryant authored and Simon Kelley committed 2013-10-11 11:56:33 +01:00
1 parent 6bd3a09fb8
commit 8c0b73d3a8
8 files changed
+142 -103

No files matched your search

+2 -1
View File
@@ -200,7 +200,8 @@ void slaac_ping_reply(struct in6_addr *sender, unsigned char *packet, char *inte
slaac->backoff = 0;
gotone = 1;
inet_ntop(AF_INET6, sender, daemon->addrbuff, ADDRSTRLEN);
my_syslog(MS_DHCP | LOG_INFO, "SLAAC-CONFIRM(%s) %s %s", interface, daemon->addrbuff, lease->hostname);
if (!option_bool(OPT_QUIET_DHCP6))
my_syslog(MS_DHCP | LOG_INFO, "SLAAC-CONFIRM(%s) %s %s", interface, daemon->addrbuff, lease->hostname);
}
lease_update_dns(gotone);