summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-10-14 10:19:04 -0400
committerThomas Markwalder <tmark@isc.org>2019-10-14 10:23:30 -0400
commit15b777b35d61aa436e671fa4f32b38fb03087259 (patch)
treefc22082d3e2dea148608e4ee496cd8d991daf61f
parent3f29cfc11ad75048bdfb2923650f0e4f61cb74c6 (diff)
downloadisc-dhcp-9-dhclient-static-lease-not-assigned-with-no-dhcp-server-responding-no-dhcpoffers-received.tar.gz
client/dhclient.c minor change to add_to_tail()
-rw-r--r--client/dhclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dhclient.c b/client/dhclient.c
index 29da928b..0a92a175 100644
--- a/client/dhclient.c
+++ b/client/dhclient.c
@@ -2535,7 +2535,7 @@ void add_to_tail(struct client_lease** lease_list,
/* Find the tail */
struct client_lease* tail;
- for (tail = *lease_list; tail && tail->next; tail = tail->next);
+ for (tail = *lease_list; tail && tail->next; tail = tail->next){};
/* Ensure the tail points nowhere. */
lease->next = NULL;