For my case, setting
static cfg_type_t cfg_type_updatepolicy = {
"update_policy", parse_updatepolicy,
cfg_print_bracketed_list, doc_updatepolicy,
&cfg_rep_list, &cfg_type_grant
};
in ./lib/isccfg/namedconf.c seem to work.
However, reading the next few lines, which are the definition of
./lib/isccfg/namedconf.c:parse_updatepolicy, reveals a probable
reason why there is a NULL in the first place. More specifically,
cfg_type_updatepolicy is, to some extent, derived from a
bracketed_list | token, where the token is "local". (I guess bind
has another definition for such a token, perhaps it is an astring.)
Does only ./lib/isccfg/namedconf.c:parse_updatepolicy can determine
which of the two options is configured for a particular instance?
Should ./lib/isccfg/namedconf.c:parse_updatepolicy be the one to
set type->print according to its resolution?
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]