1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

resolve: fix typo in dns_class_is_pseudo()

(cherry picked from commit 98e5a6c93c)
This commit is contained in:
Yu Watanabe 2022-04-18 02:09:58 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 9f689fda54
commit c202d402d9

View 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) {