2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

IXFR-over-UDP conditional was backwards

This commit is contained in:
Andreas Gustafsson
1999-10-22 19:42:38 +00:00
parent a4b6a1622b
commit 8f6a8ce904

View File

@@ -15,7 +15,7 @@
* SOFTWARE. * 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 <config.h> #include <config.h>
@@ -885,7 +885,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype)
* IXFR over UDP (currently, we always do). * IXFR over UDP (currently, we always do).
*/ */
if (DNS_SERIAL_GE(begin_serial, current_serial) || 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)); CHECK(soa_rrstream_create(mctx, db, ver, &stream));
goto have_stream; goto have_stream;