@@ -471,7 +471,6 @@ static void
471
471
cathedral_offer_info (struct sanctum_packet * pkt , struct flockent * flock ,
472
472
u_int64_t now , int nat , int catacomb )
473
473
{
474
- struct in_addr in ;
475
474
u_int8_t tid ;
476
475
struct sanctum_offer * op ;
477
476
struct tunnel * tun ;
@@ -539,16 +538,10 @@ cathedral_offer_info(struct sanctum_packet *pkt, struct flockent *flock,
539
538
tun -> p2p_ip = 0 ;
540
539
tun -> p2p_port = 0 ;
541
540
tun -> peerinfo = 0 ;
542
- sanctum_log (LOG_INFO ,
543
- "%" PRIx64 ":%04x NAT not suitable use p2p" ,
544
- flock -> id , info -> tunnel );
545
541
} else {
546
542
tun -> peerinfo = 1 ;
547
543
tun -> p2p_port = pkt -> addr .sin_port ;
548
544
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 );
552
545
}
553
546
554
547
return ;
@@ -566,12 +559,6 @@ cathedral_offer_info(struct sanctum_packet *pkt, struct flockent *flock,
566
559
tun -> peerinfo = info -> id ;
567
560
tun -> p2p_ip = info -> peer_ip ;
568
561
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 ));
575
562
} else {
576
563
tun -> federated = 0 ;
577
564
0 commit comments