Commit ed70f92d authored by Mark Andrews's avatar Mark Andrews
Browse files

use ISC_PLATFORM_USESIT

parent 6b8c78d6
......@@ -3409,7 +3409,7 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
INSIST(result == ISC_R_SUCCESS);
view->requestnsid = cfg_obj_asboolean(obj);
#ifdef ENABLE_SIT
#ifdef ISC_PLATFORM_USESIT
obj = NULL;
result = ns_config_get(maps, "request-sit", &obj);
INSIST(result == ISC_R_SUCCESS);
......@@ -6205,7 +6205,7 @@ load_configuration(const char *filename, ns_server_t *server,
server->flushonshutdown = ISC_FALSE;
}
#ifdef ENABLE_SIT
#ifdef ISC_PLATFORM_USESIT
obj = NULL;
result = ns_config_get(maps, "sit-secret", &obj);
if (result == ISC_R_SUCCESS) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment