# Merge from rt18183
# Conflicts:
# RELNOTES
# client/dhclient.c
binding out-of-range and no other leases were available to offer.
[ISC-Bugs #44373]
+- Client now calls the script with reason set to FAIL when run with -1
+ (one try) and there are no server responses. Thanks for a patch by Martin
+ Pitt which got to us via Andrew Pollock.
+ [ISC-bugs #18183]
+
Changes since 4.1-ESV-R14b1
- None
if (!quiet)
log_info("Unable to obtain a lease on first "
"try (declined). Exiting.");
+
+ /* Let's call a script and we're done */
+ script_init(client, "FAIL", (struct string_list *)0);
+ script_go(client);
+
exit(2);
} else {
state_init(client);
if (!quiet)
log_info ("Unable to obtain a lease on first try.%s",
" Exiting.");
+
+ /* Let's call a script and we're done */
+ script_init(client, "FAIL", (struct string_list *)0);
+ script_go(client);
+
exit (2);
}