mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-12-06 16:04:28 +00:00
- ACL per interface: refactor, complete testing and a bugfix for
interface names.
This commit is contained in:
1 parent
fc123303ac
commit
d301bfe4a2
14 files changed
+339
-104
No files matched your search
@@ -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