From 8f6a8ce90433c80c94e9df3851010eadbd523e4d Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 22 Oct 1999 19:42:38 +0000 Subject: [PATCH] IXFR-over-UDP conditional was backwards --- bin/named/xfrout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/named/xfrout.c b/bin/named/xfrout.c index e340dbd48a..87fc0963a7 100644 --- a/bin/named/xfrout.c +++ b/bin/named/xfrout.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: xfrout.c,v 1.15 1999/10/21 00:36:43 gson Exp $ */ + /* $Id: xfrout.c,v 1.16 1999/10/22 19:42:38 gson Exp $ */ #include @@ -885,7 +885,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) * IXFR over UDP (currently, we always do). */ if (DNS_SERIAL_GE(begin_serial, current_serial) || - (client->attributes & NS_CLIENTATTR_TCP) != 0) + (client->attributes & NS_CLIENTATTR_TCP) == 0) { CHECK(soa_rrstream_create(mctx, db, ver, &stream)); goto have_stream;