From: Yorgos Thessalonikefs Date: Fri, 16 Sep 2022 12:43:23 +0000 (+0200) Subject: Apply suggestions from code review X-Git-Tag: release-1.17.0rc1~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F753%2Fhead;p=thirdparty%2Funbound.git Apply suggestions from code review Co-authored-by: Wouter Wijngaards --- diff --git a/daemon/acl_list.c b/daemon/acl_list.c index 05b720bd5..8e8e1fc9b 100644 --- a/daemon/acl_list.c +++ b/daemon/acl_list.c @@ -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); } diff --git a/daemon/acl_list.h b/daemon/acl_list.h index 930f978d3..c717179ba 100644 --- a/daemon/acl_list.h +++ b/daemon/acl_list.h @@ -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.