changeset 1426:685f8c5f70be draft

Report ClientID being used in debug.
author Roy Marples <roy@marples.name>
date Sat, 26 Sep 2009 08:00:25 +0000
parents 77763a864887
children 849cda118eb2
files dhcpcd.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd.c	Thu Sep 24 21:29:18 2009 +0000
+++ b/dhcpcd.c	Sat Sep 26 08:00:25 2009 +0000
@@ -773,6 +773,9 @@
 			    iface->hwlen);
 		}
 	}
+	if (ifo->options & DHCPCD_CLIENTID)
+		syslog(LOG_DEBUG, "%s: using ClientID %s", iface->name,
+		    hwaddr_ntoa(iface->clientid + 1, *iface->clientid));
 }
 
 int