diff --git a/daemon/acl_list.c b/daemon/acl_list.c index 8e8e1fc9b..f3961dbbb 100644 --- a/daemon/acl_list.c +++ b/daemon/acl_list.c @@ -197,7 +197,7 @@ acl_find_or_create(struct acl_list* acl, struct sockaddr_storage* addr, /** apply acl_interface string */ static int -acl_interface_str_cfg(struct acl_list* acl_interface, const char* interface, +acl_interface_str_cfg(struct acl_list* acl_interface, const char* iface, const char* s2, int port) { struct acl_addr* node; @@ -205,9 +205,9 @@ acl_interface_str_cfg(struct acl_list* acl_interface, const char* interface, if(!parse_acl_access(s2, &control)) { return 0; } - if(!(node=acl_find_or_create_str2addr(acl_interface, interface, 1, port))) { + if(!(node=acl_find_or_create_str2addr(acl_interface, iface, 1, port))) { log_err("cannot update ACL on non-configured interface: %s %d", - interface, port); + iface, port); return 0; } node->control = control; diff --git a/doc/Changelog b/doc/Changelog index 2044e1b43..5ddf73183 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ 3 October 2022: Wouter - Fix to remove erroneous TC flag from TCP upstream. - Fix test tdir skip report printout. + - Fix windows compile, the identifier interface is defined in headers. 26 September 2022: George - Better output for skipped tdir tests.