diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2019-04-14 23:46:57 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2019-06-02 00:39:36 +0200 |
commit | 325260edb16447416a41ae1fa7985e5c0ebc91d4 (patch) | |
tree | 1b083c5941241b8f2f7f4ec662f503378924fbc4 /radix-trie.h | |
parent | Use hashtable to match ll-ip with pubkey (diff) | |
download | wg-dynamic-325260edb16447416a41ae1fa7985e5c0ebc91d4.tar.xz wg-dynamic-325260edb16447416a41ae1fa7985e5c0ebc91d4.zip |
radix-trie: remove bits arg from radix_insert_v4/6
Diffstat (limited to '')
-rw-r--r-- | radix-trie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/radix-trie.h b/radix-trie.h index 3d0b00f..9e210af 100644 --- a/radix-trie.h +++ b/radix-trie.h @@ -16,8 +16,8 @@ struct radix_trie { void radix_init(struct radix_trie *trie); void radix_free(struct radix_trie *trie); -void *radix_find_v4(struct radix_trie *trie, uint8_t bits, const void *be_ip); -void *radix_find_v6(struct radix_trie *trie, uint8_t bits, const void *be_ip); +void *radix_find_v4(struct radix_trie *trie, const void *be_ip); +void *radix_find_v6(struct radix_trie *trie, const void *be_ip); int radix_insert_v4(struct radix_trie *root, const struct in_addr *ip, uint8_t cidr, void *data); int radix_insert_v6(struct radix_trie *root, const struct in6_addr *ip, |