* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.533 2009/06/10 00:27:21 each Exp $ */
+/* $Id: server.c,v 1.534 2009/06/10 23:47:47 tbox Exp $ */
/*! \file */
/*
* Dump the key to the buffer for later use. Should be done before
- * we transfer the ownership of key to tsigkey.
+ * we transfer the ownership of key to tsigkey.
*/
isc_buffer_init(&key_rawbuffer, &key_rawsecret, sizeof(key_rawsecret));
CHECK(dst_key_tobuffer(key, &key_rawbuffer));
cleanup:
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
- NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
- "failed to generate session key "
+ NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
+ "failed to generate session key "
"for dynamic DNS: %s", isc_result_totext(result));
if (tsigkey != NULL)
dns_tsigkey_detach(&tsigkey);
cfg_obj_log(obj, ns_g_lctx, ISC_LOG_ERROR, "ddns-keyalg: "
"unsupported or unknown algorithm '%s'%s",
algstr,
- server->ddns_keyfile != NULL ? s : "");
+ server->ddns_keyfile != NULL ? s : "");
return (result);
}
if (server->ddns_keyname == NULL)
goto cleanup;
dns_name_init(server->ddns_keyname, NULL);
- CHECK(dns_name_dup(keyname, mctx, server->ddns_keyname));
+ CHECK(dns_name_dup(keyname, mctx, server->ddns_keyname));
server->ddns_keyfile = isc_mem_strdup(mctx, keyfile);
if (server->ddns_keyfile == NULL)
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zoneconf.c,v 1.150 2009/06/10 00:27:21 each Exp $ */
+/* $Id: zoneconf.c,v 1.151 2009/06/10 23:47:47 tbox Exp $ */
/*% */
}
/*
- * If this is a "ddns-autoconf" zone and a DDNS session key exists,
- * then use the default policy, equivalent to:
+ * If this is a "ddns-autoconf" zone and a DDNS session key exists,
+ * then use the default policy, equivalent to:
* update-policy { grant <ddns-keyname> zonesub any; };
*/
if (autoddns) {
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: check.c,v 1.102 2009/06/10 00:27:22 each Exp $ */
+/* $Id: check.c,v 1.103 2009/06/10 23:47:47 tbox Exp $ */
/*! \file */
{ "notify", MASTERZONE | SLAVEZONE },
{ "also-notify", MASTERZONE | SLAVEZONE },
{ "dialup", MASTERZONE | SLAVEZONE | STUBZONE },
- { "ddns-autoconf", MASTERZONE },
+ { "ddns-autoconf", MASTERZONE },
{ "delegation-only", HINTZONE | STUBZONE | DELEGATIONZONE },
{ "forward", MASTERZONE | SLAVEZONE | STUBZONE | FORWARDZONE },
{ "forwarders", MASTERZONE | SLAVEZONE | STUBZONE | FORWARDZONE },
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: namedconf.c,v 1.97 2009/06/10 00:27:22 each Exp $ */
+/* $Id: namedconf.c,v 1.98 2009/06/10 23:47:47 tbox Exp $ */
/*! \file */
*/
static cfg_type_t cfg_type_rrtypelist = {
"rrtypelist", cfg_parse_spacelist, cfg_print_spacelist,
- cfg_doc_terminal, &cfg_rep_list, &cfg_type_astring
+ cfg_doc_terminal, &cfg_rep_list, &cfg_type_astring
};
static const char *mode_enums[] = { "grant", "deny", NULL };
CHECK(cfg_peektoken(pctx, 0));
if (pctx->token.type == isc_tokentype_string &&
strcasecmp(TOKEN_STRING(pctx), "zonesub") == 0) {
- pctx->flags |= CFG_PCTX_SKIP;
+ pctx->flags |= CFG_PCTX_SKIP;
}
return (cfg_parse_enum(pctx, type, ret));
"tcp-self", "6to4-self", "zonesub", NULL };
static cfg_type_t cfg_type_matchtype = {
"matchtype", parse_matchtype, cfg_print_ustring,
- cfg_doc_enum, &cfg_rep_string, &matchtype_enums
+ cfg_doc_enum, &cfg_rep_string, &matchtype_enums
};
static cfg_type_t cfg_type_matchname = {
"optional_matchname", parse_matchname, cfg_print_ustring,
- cfg_doc_tuple, &cfg_rep_tuple, &cfg_type_ustring
+ cfg_doc_tuple, &cfg_rep_tuple, &cfg_type_ustring
};
/*%