From 69ca34df0145dd204dceeacc7caf978e4055d679 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 16 Jun 2014 11:05:03 +0200 Subject: [PATCH] dhcpv4: update hostfile more often --- src/dhcpv4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dhcpv4.c b/src/dhcpv4.c index 53e4682..b5eeb6e 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -517,6 +517,8 @@ static struct dhcpv4_assignment* dhcpv4_lease(struct interface *iface, } else if (!assigned && a) { // Cleanup failed assignment free(a); a = NULL; + } else { + update_state = true; } if (assigned && a) -- 2.30.2