changeset 2235:c6ef4773e366 draft

Clarify IPv4LL defence failure.
author Roy Marples <roy@marples.name>
date Tue, 21 Jan 2014 13:40:33 +0000
parents 790e447ef39c
children d1cd3082f593
files ipv4ll.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ipv4ll.c	Tue Jan 21 09:58:55 2014 +0000
+++ b/ipv4ll.c	Tue Jan 21 13:40:33 2014 +0000
@@ -134,9 +134,10 @@
 	time_t up;
 
 	if (state->fail.s_addr == state->addr.s_addr) {
+		/* RFC 3927 Section 2.5 */
 		up = uptime();
 		if (state->defend + DEFEND_INTERVAL > up) {
-			syslog(LOG_DEBUG,
+			syslog(LOG_WARNING,
 			    "%s: IPv4LL %d second defence failed",
 			    ifp->name, DEFEND_INTERVAL);
 			dhcp_drop(ifp, "EXPIRE");