From: Steven Barth Date: Tue, 29 Oct 2013 14:00:08 +0000 (+0100) Subject: Be less verbose when sending solicits X-Git-Tag: debian/1.1+git20160131-1~115 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=commitdiff_plain;h=99c99f06f4c6efe020307b2a66ade1cc1faf45f6;hp=6f0b2d5f806a73ae6464bc6904d0494d8204cd0d 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++; }