Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
/* 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);
}
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.