summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-09-26 08:14:02 +0000
committerRoy Marples <roy@marples.name>2009-09-26 08:14:02 +0000
commit5550b66a372a46107bcbed71b47627b3cb9b43e7 (patch)
treebe743a35fd807f94c687ba6f6c9ff9e3e30a21cd
parentd4f49adb0eaa2b2ef02122e9f880209e22018352 (diff)
downloaddhcpcd-5.0.tar.xz
Report ClientID being used in debug.dhcpcd-5.0
-rw-r--r--dhcpcd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 1e5a95ea..5c06adc1 100644
--- 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