mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-22 15:42:28 +02:00
- ACL per interface: refactor, complete testing and a bugfix for
interface names.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user