2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-05 00:35:41 +00:00

[#16,!9] Added missing NSUPDATE compilation logic

Added a release note.

client/dhclient.c
    Only include dhclient_ddns_cb_free() if NSUPDATE is defined

includes/omapip/isclib.*
    Only inlucde isc_result_t dns_client_init() if NSUPDATE is defined
This commit is contained in:
Thomas Markwalder
2019-05-15 09:39:26 -04:00
parent 787b8c0368
commit 1c779d3b51
4 changed files with 15 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright(c) 2009-2017 by Internet Systems Consortium, Inc.("ISC")
* Copyright(c) 2009-2019 by Internet Systems Consortium, Inc.("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -351,6 +351,7 @@ void dhcp_signal_handler(int signal) {
}
}
#if defined (NSUPDATE)
isc_result_t dns_client_init() {
isc_result_t result;
if (dhcp_gbl_ctx.dnsclient == NULL) {
@@ -387,3 +388,4 @@ isc_result_t dns_client_init() {
return ISC_R_SUCCESS;
}
#endif // defined (NSUPDATE)