Make subnet caches static.
This commit is contained in:
parent
322ffadac4
commit
7b831804aa
1 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,9 @@ splay_tree_t *subnet_tree;
|
|||
|
||||
/* Subnet lookup cache */
|
||||
|
||||
hash_t *ipv4_cache;
|
||||
hash_t *ipv6_cache;
|
||||
hash_t *mac_cache;
|
||||
static hash_t *ipv4_cache;
|
||||
static hash_t *ipv6_cache;
|
||||
static hash_t *mac_cache;
|
||||
|
||||
void subnet_cache_flush(void) {
|
||||
hash_clear(ipv4_cache);
|
||||
|
|
Loading…
Reference in a new issue