From: Steven Barth Date: Tue, 29 Oct 2013 14:00:08 +0000 (+0100) Subject: Be less verbose when sending solicits X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99c99f06f4c6efe020307b2a66ade1cc1faf45f6;p=oweals%2Fodhcp6c.git Be less verbose when sending solicits --- diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 31a69b6..1deb10e 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -431,8 +431,9 @@ int dhcpv6_request(enum dhcpv6_msg type) // Built and send package if (type != DHCPV6_MSG_UNKNOWN) { - syslog(LOG_NOTICE, "Send %s message (elapsed %llums, rc %d)", - retx->name, (unsigned long long)elapsed, rc); + if (type != DHCPV6_MSG_SOLICIT) + syslog(LOG_NOTICE, "Send %s message (elapsed %llums, rc %d)", + retx->name, (unsigned long long)elapsed, rc); dhcpv6_send(type, trid, elapsed / 10); rc++; }