Make subnet caches static.

This commit is contained in:
Guus Sliepen 2015-07-12 13:08:34 +02:00
parent 322ffadac4
commit 7b831804aa

View file

@ -40,9 +40,9 @@ splay_tree_t *subnet_tree;
/* Subnet lookup cache */ /* Subnet lookup cache */
hash_t *ipv4_cache; static hash_t *ipv4_cache;
hash_t *ipv6_cache; static hash_t *ipv6_cache;
hash_t *mac_cache; static hash_t *mac_cache;
void subnet_cache_flush(void) { void subnet_cache_flush(void) {
hash_clear(ipv4_cache); hash_clear(ipv4_cache);