changeset 1427:636f917e9d30 draft dhcpcd-5.0

Report ClientID being used in debug.
author Roy Marples <roy@marples.name>
date Sat, 26 Sep 2009 08:14:02 +0000
parents af4ccf4edb18
children
files dhcpcd.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd.c	Thu Sep 24 21:25:54 2009 +0000
+++ b/dhcpcd.c	Sat Sep 26 08:14:02 2009 +0000
@@ -772,6 +772,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