Mercurial > hg > dhcpcd
changeset 2157:d608ee8004e9 draft
Don't log ClientID if using DUID as that's already logged.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 15 Nov 2013 16:55:07 +0000 |
| parents | af00c6d25a45 |
| children | 814fea24c951 |
| files | dhcp.c |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dhcp.c Fri Nov 15 16:44:46 2013 +0000 +++ b/dhcp.c Fri Nov 15 16:55:07 2013 +0000 @@ -2564,6 +2564,12 @@ ifp->hwlen); } } + + if (ifo->options & DHCPCD_DUID) + /* Don't bother logging as DUID and IAID are reported + * at device start. */ + return 0; + if (ifo->options & DHCPCD_CLIENTID) syslog(LOG_DEBUG, "%s: using ClientID %s", ifp->name, hwaddr_ntoa(state->clientid + 1, state->clientid[0]));
