]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Be less verbose when sending solicits
authorSteven Barth <steven@midlink.org>
Tue, 29 Oct 2013 14:00:08 +0000 (15:00 +0100)
committerSteven Barth <steven@midlink.org>
Tue, 29 Oct 2013 14:00:08 +0000 (15:00 +0100)
src/dhcpv6.c

index 31a69b64228ff67883d489d2ce27144f1c2f7492..1deb10e4b1efd11f5f9e3b70c68be60fcdcfb0ce 100644 (file)
@@ -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++;
                }