X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fedge.c;h=da1cdb45fe79209089d03a9a91204991d86f2905;hb=5eba1e1f6feadb3f7efb1261bd65e1e9e40b7f2b;hp=b834879e2aa506a49f60f552220edbeec1d4d267;hpb=c2b9c06062d36bde859b630b99a08c7b7428e721;p=tinc diff --git a/src/edge.c b/src/edge.c index b834879e..da1cdb45 100644 --- a/src/edge.c +++ b/src/edge.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: edge.c,v 1.1.2.7 2002/02/18 16:25:16 guus Exp $ + $Id: edge.c,v 1.1.2.9 2002/03/22 13:31:18 guus Exp $ */ #include "config.h" @@ -197,17 +197,17 @@ cp for(node = edge_tree->head; node; node = node->next) { e = (edge_t *)node->data; - from_tcp = sockaddr2hostname(&e->from.tcpaddress); +// from_tcp = sockaddr2hostname(&e->from.tcpaddress); from_udp = sockaddr2hostname(&e->from.udpaddress); - to_tcp = sockaddr2hostname(&e->to.tcpaddress); +// to_tcp = sockaddr2hostname(&e->to.tcpaddress); to_udp = sockaddr2hostname(&e->to.udpaddress); - syslog(LOG_DEBUG, _(" %s tcp at %s udp at %s - %s tcp at %s udp at %s options %ld weight %d"), - e->from.node->name, from_tcp, from_udp, - e->to.node->name, to_tcp, to_udp, + syslog(LOG_DEBUG, _(" %s at %s - %s at %s options %lx weight %d"), + e->from.node->name, from_udp, + e->to.node->name, to_udp, e->options, e->weight); - free(from_tcp); +// free(from_tcp); free(from_udp); - free(to_tcp); +// free(to_tcp); free(to_udp); }