Skip to content

Commit 4309881

Browse files
committed
cathedral: remove debug
1 parent 258c225 commit 4309881

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Diff for: src/cathedral.c

-13
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ static void
471471
cathedral_offer_info(struct sanctum_packet *pkt, struct flockent *flock,
472472
u_int64_t now, int nat, int catacomb)
473473
{
474-
struct in_addr in;
475474
u_int8_t tid;
476475
struct sanctum_offer *op;
477476
struct tunnel *tun;
@@ -539,16 +538,10 @@ cathedral_offer_info(struct sanctum_packet *pkt, struct flockent *flock,
539538
tun->p2p_ip = 0;
540539
tun->p2p_port = 0;
541540
tun->peerinfo = 0;
542-
sanctum_log(LOG_INFO,
543-
"%" PRIx64 ":%04x NAT not suitable use p2p",
544-
flock->id, info->tunnel);
545541
} else {
546542
tun->peerinfo = 1;
547543
tun->p2p_port = pkt->addr.sin_port;
548544
tun->p2p_ip = pkt->addr.sin_addr.s_addr;
549-
sanctum_log(LOG_INFO,
550-
"%" PRIx64 ":%04x NAT suitable for p2p",
551-
flock->id, info->tunnel);
552545
}
553546

554547
return;
@@ -566,12 +559,6 @@ cathedral_offer_info(struct sanctum_packet *pkt, struct flockent *flock,
566559
tun->peerinfo = info->id;
567560
tun->p2p_ip = info->peer_ip;
568561
tun->p2p_port = info->peer_port;
569-
570-
in.s_addr = tun->p2p_ip;
571-
sanctum_log(LOG_INFO,
572-
"%" PRIx64 ":%04x federated update p2p address %s:%u",
573-
flock->id, info->tunnel,
574-
inet_ntoa(in), be16toh(tun->p2p_port));
575562
} else {
576563
tun->federated = 0;
577564

0 commit comments

Comments
 (0)