changeset 4567:dda61c0a55f5 draft

DHCP: On ARP duplication, ensure the interface pointer is valid
author Roy Marples <roy@marples.name>
date Tue, 23 Jul 2019 14:26:53 +0100
parents defe875f1d89
children 63aea27dd3bc
files src/dhcp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dhcp.c	Tue Jul 23 14:23:11 2019 +0100
+++ b/src/dhcp.c	Tue Jul 23 14:26:53 2019 +0100
@@ -2097,7 +2097,7 @@
 
 	addr = astate->addr;
 	arp_free(astate);
-	dhcp_addr_duplicated(astate->iface, &addr);
+	dhcp_addr_duplicated(ifp, &addr);
 }
 
 #ifdef KERNEL_RFC5227