summaryrefslogtreecommitdiff
path: root/omapip
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-05-15 09:39:26 -0400
committerThomas Markwalder <tmark@isc.org>2019-05-15 09:39:26 -0400
commit1c779d3b51f3ab9031b30d370ec398e1b5819137 (patch)
tree45fa5edfe4bcd506735a5dfaf919c60092fb4fe8 /omapip
parent787b8c03684e82c4738fdb1c3a73349e7a412e76 (diff)
downloadisc-dhcp-1c779d3b51f3ab9031b30d370ec398e1b5819137.tar.gz
[#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
Diffstat (limited to 'omapip')
-rw-r--r--omapip/isclib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/omapip/isclib.c b/omapip/isclib.c
index db3b8952..cf150bab 100644
--- a/omapip/isclib.c
+++ b/omapip/isclib.c
@@ -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)