changeset 2202:2a43815d2098 draft

Move some errors into debug.
author Roy Marples <roy@marples.name>
date Fri, 13 Dec 2013 09:11:42 +0000
parents e3eb0a69b1db
children a402f9e802a6
files dhcp6.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dhcp6.c	Thu Dec 12 16:25:58 2013 +0000
+++ b/dhcp6.c	Fri Dec 13 09:11:42 2013 +0000
@@ -2004,13 +2004,13 @@
 			break;
 	}
 	if (ifp == NULL) {
-		syslog(LOG_ERR, "DHCPv6 reply for unexpected interface from %s",
-		    sfrom);
+		syslog(LOG_DEBUG,
+		    "DHCPv6 reply for unexpected interface from %s", sfrom);
 		return;
 	}
 	state = D6_STATE(ifp);
 	if (state == NULL || state->send == NULL) {
-		syslog(LOG_ERR, "%s: DHCPv6 reply received but not running",
+		syslog(LOG_DEBUG, "%s: DHCPv6 reply received but not running",
 		    ifp->name);
 		return;
 	}
@@ -2025,7 +2025,7 @@
 	    r->xid[1] != state->send->xid[1] ||
 	    r->xid[2] != state->send->xid[2])
 	{
-		syslog(LOG_ERR,
+		syslog(LOG_DEBUG,
 		    "%s: wrong xid 0x%02x%02x%02x"
 		    " (expecting 0x%02x%02x%02x) from %s",
 		    ifp->name,
@@ -2037,7 +2037,7 @@
 	}
 
 	if (dhcp6_getmoption(D6_OPTION_SERVERID, r, len) == NULL) {
-		syslog(LOG_ERR, "%s: no DHCPv6 server ID from %s",
+		syslog(LOG_DEBUG, "%s: no DHCPv6 server ID from %s",
 		    ifp->name, sfrom);
 		return;
 	}
@@ -2046,7 +2046,7 @@
 	if (o == NULL || ntohs(o->len) != duid_len ||
 	    memcmp(D6_COPTION_DATA(o), duid, duid_len) != 0)
 	{
-		syslog(LOG_ERR, "%s: incorrect client ID from %s",
+		syslog(LOG_DEBUG, "%s: incorrect client ID from %s",
 		    ifp->name, sfrom);
 		return;
 	}