changeset 4170:cc4fbeafc390 draft

Fix a boo boo
author Roy Marples <roy@marples.name>
date Tue, 24 Oct 2017 23:33:27 +0100
parents 07bfee79bd7a
children 4ff80b2bbba1
files src/arp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/arp.c	Tue Oct 24 23:11:15 2017 +0100
+++ b/src/arp.c	Tue Oct 24 23:33:27 2017 +0100
@@ -208,7 +208,7 @@
 		}
 		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;
 	}
 }