Skip to content

Commit

Permalink
Merge pull request #13914 from rgacogne/ddist-fix-xsk-error
Browse files Browse the repository at this point in the history
dnsdist: Fix XSK-enabled check when reconnecting a backend
  • Loading branch information
rgacogne committed Mar 25, 2024
2 parents fa40293 + bb21880 commit e3c97fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/dnsdistdist/dnsdist-backend.cc
Expand Up @@ -101,7 +101,7 @@ bool DownstreamState::reconnect(bool initialAttempt)
(*mplexer.lock())->removeReadFD(fd);
}
#ifdef HAVE_XSK
if (d_xskInfos.empty()) {
if (!d_xskInfos.empty()) {
removeXSKDestination(fd);
}
#endif /* HAVE_XSK */
Expand Down

0 comments on commit e3c97fb

Please sign in to comment.