From afda854d34e86506ce81625aae3ec5d62998651b Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 25 Oct 1999 20:22:39 +0000 Subject: [PATCH] obey the transfer_format option (just the global one for now) --- bin/named/xfrout.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/named/xfrout.c b/bin/named/xfrout.c index 732fda5fef..6e375aef5b 100644 --- a/bin/named/xfrout.c +++ b/bin/named/xfrout.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: xfrout.c,v 1.17 1999/10/25 13:25:43 marka Exp $ */ + /* $Id: xfrout.c,v 1.18 1999/10/25 20:22:39 gson Exp $ */ #include @@ -47,6 +47,7 @@ #include #include +#include #include #include @@ -1205,7 +1206,8 @@ sendstream(xfrout_ctx_t *xfr) } CHECK(result); - if (0) /* XXX "if (config->xfr_format == one_answer)" */ + /* XXX per-server, too */ + if (ns_g_confctx->options->transfer_format == dns_one_answer) break; }