]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dns-domain: fix the RFC reference
authorMichal Sekletar <msekleta@redhat.com>
Wed, 11 Oct 2023 13:28:19 +0000 (15:28 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 11 Oct 2023 14:09:18 +0000 (23:09 +0900)
src/shared/dns-domain.c

index 60560654bd41c1e26627017a08f6eb4250a9529e..b41c9b06ca3bfa471eab87839b0bffc7435bab0c 100644 (file)
@@ -206,7 +206,7 @@ int dns_label_escape(const char *p, size_t l, char *dest, size_t sz) {
         char *q;
 
         /* DNS labels must be between 1 and 63 characters long. A
-         * zero-length label does not exist. See RFC 2182, Section
+         * zero-length label does not exist. See RFC 2181, Section
          * 11. */
 
         if (l <= 0 || l > DNS_LABEL_MAX)