X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsubnet.c;h=090a62bfe74236e4d7289e366d0a063f25f3630e;hb=34ea20af73a35cd918ce9dc25796bebf9493b49c;hp=534e5b53d562a9f8ae3f820c406622b65143f13b;hpb=3df86ef17bce9f24c3dad79ccc2b17aa6e93ea34;p=tinc diff --git a/src/subnet.c b/src/subnet.c index 534e5b53..090a62bf 100644 --- a/src/subnet.c +++ b/src/subnet.c @@ -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);