Skip to content

Commit

Permalink
Update subnet.c
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Jun 10, 2023
1 parent 73efe4e commit b4ab86f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/subnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ static uint32_t hash_function_mac_t(const mac_t *p) {
return hash;
}

static inline bool hash_cmp_ipv4_t memcmp
static inline bool hash_cmp_ipv6_t memcmp
static inline bool hash_cmp_mac_t memcmp
#define hash_cmp_ipv4_t memcmp
#define hash_cmp_ipv6_t memcmp
#define hash_cmp_mac_t memcmp

hash_define(ipv4_t, SUBNET_HASH_SIZE)
hash_define(ipv6_t, SUBNET_HASH_SIZE)
Expand Down

0 comments on commit b4ab86f

Please sign in to comment.