Closed jcorporation closed 1 year ago
It seems commit dd32deb changes the structure of mg_addr and the function
mg_check_ip_acl
was not changed accordingly.
Yes, we compacted struct mg_addr
but did not think changing mg_check_ip_acl
was required.
We'll discuss that
I think the signature should be changed to this:
bool mg_check_ip_acl(struct mg_str acl, struct mg_addr *);
This way it may work for v6 addresses, too.
This way it may work for v6 addresses, too.
This would be great!
I get following compiler error with mongoose 7.11, with mongoose 7.10 it works:
It seems commit dd32deb2ad88133d48bf8c837dd6ee7d6ffc7e51 changes the structure of mg_addr and the function
mg_check_ip_acl
was not changed accordingly.Code: