]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] Remove REQUIRE preventing change 4592 from working
authorMichał Kępień <michal@isc.org>
Tue, 24 Oct 2017 19:02:05 +0000 (21:02 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 24 Oct 2017 19:11:31 +0000 (21:11 +0200)
Change 4592 was supposed to replace a REQUIRE with a conditional return.
While the latter was added, the former was not removed.  Remove the
relevant REQUIRE to fix RT #43822 for good.

lib/dns/dispatch.c

index 4f668a102da94aef1f2dd32814f21adf4cbfbcb4..607a730395e4ec158bdc0740b4453de4c41cdd1c 100644 (file)
@@ -3718,7 +3718,6 @@ dns_dispatch_importrecv(dns_dispatch_t *disp, isc_event_t *event) {
        isc_socketevent_t *sevent, *newsevent;
 
        REQUIRE(VALID_DISPATCH(disp));
-       REQUIRE((disp->attributes & DNS_DISPATCHATTR_NOLISTEN) != 0);
        REQUIRE(event != NULL);
 
        if ((disp->attributes & DNS_DISPATCHATTR_NOLISTEN) == 0)