From: W.C.A. Wijngaards Date: Mon, 3 Oct 2022 13:03:50 +0000 (+0200) Subject: - Fix windows compile, the identifier interface is defined in headers. X-Git-Tag: release-1.17.0rc1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d96a7e3fee775895a2f7faf370344a2d3fdd642;p=thirdparty%2Funbound.git - Fix windows compile, the identifier interface is defined in headers. --- 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.