From 07e1c607bebcb6a35307941ea72fadab126b4511 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 17 Mar 1998 06:12:55 +0000 Subject: [PATCH] more ARP acl fixes --- src/acl.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/acl.cc b/src/acl.cc index 6b0a7bf299..cb2392e70b 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.148 1998/03/16 22:26:45 wessels Exp $ + * $Id: acl.cc,v 1.149 1998/03/16 23:12:55 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -76,7 +76,7 @@ static wordlist *aclDumpUnimplemented(void); static int checkARP(u_long ip, char *eth); static int decode_eth(const char *asc, char *eth); static int aclMatchArp(void *dataptr, struct in_addr c); -static const char *aclDumpArpList(acl_arp_data *); +static wordlist *aclDumpArpList(acl_arp_data *); #endif #if defined(USE_SPLAY_TREE) @@ -1683,6 +1683,7 @@ aclDestroyAcls(acl ** head) switch (a->type) { case ACL_SRC_IP: case ACL_DST_IP: + case ACL_SRC_ARP: #if defined (USE_SPLAY_TREE) splay_destroy(a->data, xfree); #elif defined(USE_BIN_TREE) @@ -2544,7 +2545,7 @@ checkARP(u_long ip, char *eth) return 0; } -static const char * +static wordlist * aclDumpArpList(acl_arp_data * data) { wordlist *W = NULL; -- 2.47.3