]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix windows compile, the identifier interface is defined in headers.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 3 Oct 2022 13:03:50 +0000 (15:03 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 3 Oct 2022 13:03:50 +0000 (15:03 +0200)
daemon/acl_list.c
doc/Changelog

index 8e8e1fc9b4bb8efd7d1019bf1d13cea2698cdb87..f3961dbbb7ad91b5106165aa2ada298fa424b64a 100644 (file)
@@ -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;
index 2044e1b4324b32001681214b38f6e48393a9862a..5ddf73183d4581eb6a34a608566952bc2ae4da3b 100644 (file)
@@ -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.