Mercurial > hg > dhcpcd
changeset 2947:840e0cd4bd3b draft
Fix test, thanks to Olaf Westrik.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 13 Feb 2015 12:22:05 +0000 |
| parents | dfebb30d292a |
| children | 386220c70bde |
| files | dhcp.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dhcp.c Fri Feb 13 11:28:17 2015 +0000 +++ b/dhcp.c Fri Feb 13 12:22:05 2015 +0000 @@ -1909,7 +1909,7 @@ return; } if (state->reason == NULL) { - if (state->old && !(state->added | STATE_FAKE)) { + if (state->old && !(state->added & STATE_FAKE)) { if (state->old->yiaddr == state->new->yiaddr && lease->server.s_addr) state->reason = "RENEW";
