]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: fix typo in dns_class_is_pseudo()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 Apr 2022 17:09:58 +0000 (02:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 Apr 2022 22:01:17 +0000 (07:01 +0900)
src/resolve/dns-type.c

index 1f7334723e97212715b37742ec792c3303cc181f..da68b41a371fb4fc128a6b7b9c7e5d9a49b0d65c 100644 (file)
@@ -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) {