From: Roy Marples Date: Tue, 24 Oct 2017 22:33:27 +0000 (+0100) Subject: Fix a boo boo X-Git-Tag: v7.0.0-rc4~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7eef217a42fd18f756b479076c7ff7ffae6fcb;p=thirdparty%2Fdhcpcd.git Fix a boo boo --- diff --git a/src/arp.c b/src/arp.c index fd3cdfe3..77a1dc3d 100644 --- a/src/arp.c +++ b/src/arp.c @@ -208,7 +208,7 @@ arp_read(void *arg) } arp_packet(ifp, buf, (size_t)bytes); /* Check we still have a state after processing. */ - if ((state = ARP_STATE(ifp))) + if ((state = ARP_STATE(ifp)) == NULL) break; } }