From: Zbigniew Jędrzejewski-Szmek Date: Wed, 10 Feb 2021 23:10:25 +0000 (+0100) Subject: Merge pull request #17823 from poettering/resolved-just-bypass X-Git-Tag: v248-rc1~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39755e00142d240e7229fb3378f344cf3a753190;p=thirdparty%2Fsystemd.git Merge pull request #17823 from poettering/resolved-just-bypass resolved: just the dnssec bypass logic --- 39755e00142d240e7229fb3378f344cf3a753190 diff --cc src/resolve/resolved-dns-transaction.h index 3cad567a8c9,93ff6b3d584..db7cf6743b2 --- a/src/resolve/resolved-dns-transaction.h +++ b/src/resolve/resolved-dns-transaction.h @@@ -31,8 -32,9 +32,9 @@@ enum DnsTransactionState DNS_TRANSACTION_RR_TYPE_UNSUPPORTED, DNS_TRANSACTION_NETWORK_DOWN, DNS_TRANSACTION_NOT_FOUND, /* like NXDOMAIN, but when LLMNR/TCP connections fail */ + DNS_TRANSACTION_NO_SOURCE, /* All suitable DnsTransactionSource turned off */ _DNS_TRANSACTION_STATE_MAX, - _DNS_TRANSACTION_STATE_INVALID = -1 + _DNS_TRANSACTION_STATE_INVALID = -EINVAL, }; #define DNS_TRANSACTION_IS_LIVE(state) IN_SET((state), DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING, DNS_TRANSACTION_VALIDATING)