summaryrefslogtreecommitdiffstats
path: root/sys/netpfil
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netpfil')
-rw-r--r--sys/netpfil/ipfw/ip_fw_table_algo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_table_algo.c b/sys/netpfil/ipfw/ip_fw_table_algo.c
index 0000df6..94d1c5e 100644
--- a/sys/netpfil/ipfw/ip_fw_table_algo.c
+++ b/sys/netpfil/ipfw/ip_fw_table_algo.c
@@ -4557,21 +4557,21 @@ ta_lookup_mhash(struct table_info *ti, void *key, uint32_t keylen,
hsize = 1 << (ti->data & 0xFF);
hash2 = hash_mac2(key, hsize);
if (ta_lookup_find_mhash(head, hash2,
- (struct macdata *)key, val, NULL, te) == 1)
+ (struct macdata *)key, val, ea, te) == 1)
return (1);
/* src any */
memcpy(mac.addr, key, 6);
memset(mac.addr + 6, 0, 6);
hash2 = hash_mac2(mac.addr, hsize);
- if (ta_lookup_find_mhash(head, hash2, &mac, val, NULL, te) == 1)
+ if (ta_lookup_find_mhash(head, hash2, &mac, val, ea, te) == 1)
return (1);
/* dst any */
memset(mac.addr, 0, 6);
memcpy(mac.addr + 6, (uintptr_t *)key + 6, 6);
hash2 = hash_mac2(mac.addr, hsize);
- if (ta_lookup_find_mhash(head, hash2, &mac, val, NULL, te) == 1)
+ if (ta_lookup_find_mhash(head, hash2, &mac, val, ea, te) == 1)
return (1);
return (0);
OpenPOWER on IntegriCloud