/*
- * $Id: acl.cc,v 1.124 1997/12/30 02:46:35 wessels Exp $
+ * $Id: acl.cc,v 1.125 1997/12/30 21:58:05 kostas Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
acl->name, r->host);
checklist->state[ACL_DST_ASN] = ACL_LOOKUP_NEEDED;
} else {
- return asnMatchIp(&acl->data, no_addr);
+ return asnMatchIp(&(acl->data), no_addr);
}
return 0;
#if USE_ARP_ACL
lh = ntohl(addr.s_addr);
debug(53, 4) ("asnMatchIp: Called for %s.\n", inet_ntoa(addr));
- if (AS_tree_head == 0)
+ if (AS_tree_head == 0 || &addr==&no_addr)
return 0;
store_m_int(lh, m_addr);
rn = rn_match(m_addr, AS_tree_head);