mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-03 15:56:00 +00:00
Fix the check in the signal handler code to check if there is an inner
signal handler before calling it. Previously we check if there was a get_value function.
This commit is contained in:
3
RELNOTES
3
RELNOTES
@@ -186,6 +186,9 @@ work on other platforms. Please report any problems and suggested fixes to
|
|||||||
- Fixed a fenceposting bug when a client had two host records configured,
|
- Fixed a fenceposting bug when a client had two host records configured,
|
||||||
one using 'uid' and the other using 'hardware ethernet'.
|
one using 'uid' and the other using 'hardware ethernet'.
|
||||||
|
|
||||||
|
- Fixed the check in the dhcp_interface_signal_handler routine to verify
|
||||||
|
the existence of the linked signal handler before calling it.
|
||||||
|
|
||||||
Changes since 4.1.0b1
|
Changes since 4.1.0b1
|
||||||
|
|
||||||
- A missing "else" in dhcrelay.c could have caused an interface not to
|
- A missing "else" in dhcrelay.c could have caused an interface not to
|
||||||
|
@@ -1559,7 +1559,7 @@ isc_result_t dhcp_interface_signal_handler (omapi_object_t *h,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Try to find some inner object that can take the value. */
|
/* Try to find some inner object that can take the value. */
|
||||||
if (h -> inner && h -> inner -> type -> get_value) {
|
if (h -> inner && h -> inner -> type -> signal_handler) {
|
||||||
status = ((*(h -> inner -> type -> signal_handler))
|
status = ((*(h -> inner -> type -> signal_handler))
|
||||||
(h -> inner, name, ap));
|
(h -> inner, name, ap));
|
||||||
if (status == ISC_R_SUCCESS)
|
if (status == ISC_R_SUCCESS)
|
||||||
|
Reference in New Issue
Block a user