acl: fix debug build

This commit is contained in:
rofl0r 2021-02-13 17:57:56 +00:00
parent e52f740057
commit 6e216b19f0

View File

@ -191,7 +191,7 @@ static int check_numeric_acl (const struct acl_s *acl, uint8_t addr[IPV6_LEN])
uint8_t x, y;
int i;
assert (acl && acl->h.type == ACL_NUMERIC);
assert (acl && acl->h.type == HST_NUMERIC);
for (i = 0; i != IPV6_LEN; ++i) {
x = addr[i] & acl->h.address.ip.mask[i];