2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

770. [func] Add the "edns yes_or_no" statement to the server

clause. [RT #524]
This commit is contained in:
Brian Wellington
2001-03-06 23:54:37 +00:00
parent 3fccea030d
commit d25dd5b056
8 changed files with 81 additions and 12 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.297 2001/03/06 19:04:42 bwelling Exp $ */
/* $Id: server.c,v 1.298 2001/03/06 23:54:29 bwelling Exp $ */
#include <config.h>
@@ -423,6 +423,11 @@ configure_peer(cfg_obj_t *cpeer, isc_mem_t *mctx, dns_peer_t **peerp) {
if (obj != NULL)
dns_peer_setrequestixfr(peer, cfg_obj_asboolean(obj));
obj = NULL;
(void)cfg_map_get(cpeer, "edns", &obj);
if (obj != NULL)
dns_peer_setsupportedns(peer, cfg_obj_asboolean(obj));
obj = NULL;
(void)cfg_map_get(cpeer, "transfers", &obj);
if (obj != NULL)