]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/dns-type.c
resolve: fix typo in dns_class_is_pseudo()
[thirdparty/systemd.git] / 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) {