- ACL per interface: refactor, complete testing and a bugfix for

interface names.
This commit is contained in:
George Thessalonikefs committed 2022-09-11 20:57:41 +02:00
1 parent fc123303ac
commit d301bfe4a2
14 files changed
+339 -104

No files matched your search

+1 -2
View File
@@ -1341,11 +1341,10 @@ int resolve_interface_names(char** ATTR_UNUSED(ifs), int ATTR_UNUSED(num_ifs),
}
struct listen_port* listening_ports_open(struct config_file* ATTR_UNUSED(cfg),
struct acl_list* ATTR_UNUSED(acl_interface),
char** ATTR_UNUSED(ifs), int ATTR_UNUSED(num_ifs),
int* ATTR_UNUSED(reuseport))
{
return calloc(1, 1);
return calloc(1, sizeof(struct listen_port));
}
void listening_ports_free(struct listen_port* list)