Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
dhcp
Commits
3f2eb206
Commit
3f2eb206
authored
Jun 22, 2017
by
Tomek Mrugalski
🛰
Browse files
[master] Merge branch 'rt18183' (script call with fail reason and -1)
# Conflicts: # RELNOTES
parents
ff343a30
d43a5835
Changes
2
Hide whitespace changes
Inline
Side-by-side
RELNOTES
View file @
3f2eb206
...
...
@@ -163,6 +163,11 @@ by Eric Young (eay@cryptsoft.com).
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.3.0 (bug fixes)
- Tidy up several small tickets.
...
...
client/dhclient.c
View file @
3f2eb206
...
...
@@ -1482,6 +1482,11 @@ void bind_lease (client)
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
);
finish
(
2
);
}
else
{
state_init
(
client
);
...
...
@@ -2491,6 +2496,11 @@ void state_panic (cpp)
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
);
finish
(
2
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment