Mercurial > hg > dhcpcd
changeset 2256:bab1e1a8f94e draft
Warn on missing auth if we request it but do not require it.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Thu, 30 Jan 2014 13:27:49 +0000 |
| parents | 53e2bcc94b22 |
| children | 5d6ccc5a3b11 |
| files | dhcp.c |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dhcp.c Thu Jan 30 13:04:42 2014 +0000 +++ b/dhcp.c Thu Jan 30 13:27:49 2014 +0000 @@ -2147,7 +2147,9 @@ } else if (ifo->auth.options & DHCPCD_AUTH_REQUIRE) { log_dhcp(LOG_ERR, "missing authentiation", iface, dhcp, from); return; - } + } else if (ifo->auth.options & DHCPCD_AUTH_SEND) + log_dhcp(LOG_WARNING, "missing authentiation", + iface, dhcp, from); /* reset the message counter */ state->interval = 0;
