From: Roy Marples Date: Fri, 13 Feb 2015 12:22:05 +0000 (+0000) Subject: Fix test, thanks to Olaf Westrik. X-Git-Tag: v6.8.0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79abf2a1d10324d61ce946ff99c5bdb45b8bc43b;p=thirdparty%2Fdhcpcd.git Fix test, thanks to Olaf Westrik. --- diff --git a/dhcp.c b/dhcp.c index 2d3f6801..d6d8b40e 100644 --- a/dhcp.c +++ b/dhcp.c @@ -1909,7 +1909,7 @@ dhcp_bind(struct interface *ifp, struct arp_state *astate) 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";