]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Report ClientID being used in debug. dhcpcd-5.0 origin/dhcpcd-5.0
authorRoy Marples <roy@marples.name>
Sat, 26 Sep 2009 08:14:02 +0000 (08:14 +0000)
committerRoy Marples <roy@marples.name>
Sat, 26 Sep 2009 08:14:02 +0000 (08:14 +0000)
dhcpcd.c

index 1e5a95ea90474ea12f9f5610ddf702bfde865a69..5c06adc12163345245f503fb51532ecbd497440d 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -772,6 +772,9 @@ configure_interface1(struct interface *iface)
                            iface->hwlen);
                }
        }
+       if (ifo->options & DHCPCD_CLIENTID)
+               syslog(LOG_DEBUG, "%s: using ClientID %s", iface->name,
+                   hwaddr_ntoa(iface->clientid + 1, *iface->clientid));
 }
 
 int