]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
typo: transer -> transfer
authorRonan Pigott <ronan@rjp.ie>
Mon, 18 Dec 2023 23:38:44 +0000 (16:38 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Dec 2023 02:46:47 +0000 (11:46 +0900)
src/resolve/dns-type.c
src/resolve/dns-type.h
src/resolve/resolved-bus.c
src/resolve/resolved-dns-stub.c

index da68b41a371fb4fc128a6b7b9c7e5d9a49b0d65c..1af370d23936c2aa72c79f2ab16bdd798bb3a789 100644 (file)
@@ -80,7 +80,7 @@ bool dns_type_is_valid_query(uint16_t type) {
                        DNS_TYPE_RRSIG);
 }
 
-bool dns_type_is_zone_transer(uint16_t type) {
+bool dns_type_is_zone_transfer(uint16_t type) {
 
         /* Zone transfers, either normal or incremental */
 
index f0bb3be7beadc3fbc824605d6efbbab385d2f69f..9c294f4e5fd8ab6e39da1868e7ac5c331257630d 100644 (file)
@@ -118,7 +118,7 @@ bool dns_type_is_obsolete(uint16_t type);
 bool dns_type_may_wildcard(uint16_t type);
 bool dns_type_apex_only(uint16_t type);
 bool dns_type_needs_authentication(uint16_t type);
-bool dns_type_is_zone_transer(uint16_t type);
+bool dns_type_is_zone_transfer(uint16_t type);
 int dns_type_to_af(uint16_t type);
 
 bool dns_class_is_pseudo(uint16_t class);
index 1ef25acdad446ac99aad24c9e4c96f779bdf0132..d0304318c4ca7abc02ffa164ec3811b2a81daccb 100644 (file)
@@ -806,7 +806,7 @@ static int bus_method_resolve_record(sd_bus_message *message, void *userdata, sd
 
         if (!dns_type_is_valid_query(type))
                 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Specified resource record type %" PRIu16 " may not be used in a query.", type);
-        if (dns_type_is_zone_transer(type))
+        if (dns_type_is_zone_transfer(type))
                 return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Zone transfers not permitted via this programming interface.");
         if (dns_type_is_obsolete(type))
                 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Specified DNS resource record type %" PRIu16 " is obsolete.", type);
index c59e3b7f495f78d8fc98c6717eb8cdc7d77a9bfc..f43e1f8b617196e2609137d5eca37462449d9eb6 100644 (file)
@@ -929,7 +929,7 @@ static void dns_stub_process_query(Manager *m, DnsStubListenerExtra *l, DnsStrea
                 return;
         }
 
-        if (dns_type_is_zone_transer(dns_question_first_key(p->question)->type)) {
+        if (dns_type_is_zone_transfer(dns_question_first_key(p->question)->type)) {
                 log_debug("Got request for zone transfer, refusing.");
                 dns_stub_send_failure(m, l, s, p, DNS_RCODE_REFUSED, false);
                 return;