mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.441 2005/04/27 04:55:54 sra Exp $ */
|
||||
/* $Id: server.c,v 1.442 2005/04/29 00:36:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -4239,18 +4239,4 @@ ns_smf_add_message(isc_buffer_t *text) {
|
||||
isc_buffer_add(text, n);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
ns_smf_disable(const char *ins_name) {
|
||||
|
||||
if (ins_name == NULL)
|
||||
return (ISC_R_UNEXPECTED);
|
||||
if (smf_disable_instance(ins_name, 0) != 0) {
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
"smf_disable_instance() failed: %s",
|
||||
scf_strerror(scf_error()));
|
||||
return (ISC_R_FAILURE);
|
||||
}
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
#endif /* HAVE_LIBSCF */
|
||||
|
Reference in New Issue
Block a user