Remove address cache debug messages printed to stderr.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 23 Jun 2018 20:32:19 +0000 (22:32 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 23 Jun 2018 20:32:19 +0000 (22:32 +0200)
src/address_cache.c
src/net_packet.c

index 389615e..445cd1c 100644 (file)
@@ -108,7 +108,6 @@ void add_recent_address(address_cache_t *cache, const sockaddr_t *sa) {
        FILE *fp = fopen(fname, "wb");
 
        if(fp) {
-               fprintf(stderr, "Writing cache to %s\n", fname);
                fwrite(&cache->data, sizeof(cache->data), 1, fp);
                fclose(fp);
        }
index 9baaf4c..5d70481 100644 (file)
@@ -167,7 +167,6 @@ static void udp_probe_h(node_t *n, vpn_packet_t *packet, length_t len) {
           packet used. */
        if(!n->status.udp_confirmed) {
                n->status.udp_confirmed = true;
-               fprintf(stderr, "Updating address cache...\n");
 
                if(!n->address_cache) {
                        n->address_cache = open_address_cache(n);