]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Apply suggestions from code review 753/head
authorYorgos Thessalonikefs <george@nlnetlabs.nl>
Fri, 16 Sep 2022 12:43:23 +0000 (14:43 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Sep 2022 12:43:23 +0000 (14:43 +0200)
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
daemon/acl_list.c
daemon/acl_list.h

index 05b720bd538b93b34c9c2fa74b2fcb80d266b051..8e8e1fc9b4bb8efd7d1019bf1d13cea2698cdb87 100644 (file)
@@ -567,7 +567,7 @@ acl_interface_init(struct acl_list* acl_interface)
        /* We want comparison in the tree to include only address and port.
         * We don't care about comparing node->net. All addresses in the
         * acl_interface->tree should have either 32 (ipv4) or 128 (ipv6).
-        * Initialise with the appropriate compare fucntion but keep treating
+        * Initialise with the appropriate compare function but keep treating
         * it as an addr_tree. */
        addr_tree_addrport_init(&acl_interface->tree);
 }
index 930f978d3726ab3ef6795cdccfa3935c01e8522f..c717179baf5ea5a0f9cc2433c80f9f5a2b97465c 100644 (file)
@@ -120,7 +120,7 @@ struct acl_list* acl_list_create(void);
 void acl_list_delete(struct acl_list* acl);
 
 /**
- * Insert interface in the alc_list. This should happen when the listening
+ * Insert interface in the acl_list. This should happen when the listening
  * interface is setup.
  * @param acl_interface: acl_list to insert to.
  * @param addr: interface IP.