- Added support for jumbograms.

- Remove tcpaddress from edges, it is not used at all.
- Last bits of code to prevent looping requests.
This commit is contained in:
Guus Sliepen 2002-03-22 11:43:48 +00:00
parent 9da5390666
commit 52e7699273
11 changed files with 80 additions and 53 deletions

View file

@ -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.8 2002/03/22 11:43:46 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 %ld 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);
}