projects
/
oweals
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dhcpv4: update hostfile more often
[oweals/odhcpd.git]
/
src
/
dhcpv4.c
diff --git
a/src/dhcpv4.c
b/src/dhcpv4.c
index 53e46824b2a430e6ecee6e8d5465792df88cddbc..b5eeb6e971df48f65971a9767a5fc30609358482 100644
(file)
--- 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)