From: Yu Watanabe Date: Sun, 17 Apr 2022 17:09:58 +0000 (+0900) Subject: resolve: fix typo in dns_class_is_pseudo() X-Git-Tag: v251-rc2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98e5a6c93c6fcf94ba24dfb666c743ea35124290;p=thirdparty%2Fsystemd.git resolve: fix typo in dns_class_is_pseudo() --- diff --git a/src/resolve/dns-type.c b/src/resolve/dns-type.c index 1f7334723e9..da68b41a371 100644 --- a/src/resolve/dns-type.c +++ b/src/resolve/dns-type.c @@ -60,7 +60,7 @@ bool dns_type_is_pseudo(uint16_t type) { } bool dns_class_is_pseudo(uint16_t class) { - return class == DNS_TYPE_ANY; + return class == DNS_CLASS_ANY; } bool dns_type_is_valid_query(uint16_t type) {