[Olsr-cvs] olsrd-current/src routing_table.c,1.39,1.40
Bernd Petrovitsch
(spam-protected)
Wed Dec 12 23:04:10 CET 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19015/src
Modified Files:
routing_table.c
Log Message:
* fixed variable definitions
Index: routing_table.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/routing_table.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** routing_table.c 12 Dec 2007 21:57:27 -0000 1.39
--- routing_table.c 12 Dec 2007 22:04:08 -0000 1.40
***************
*** 489,494 ****
union olsr_ip_addr *originator, int origin)
{
! #if !defined(NODEBUG) && defined(DEBUG)
! struct ipaddr_str buf;
#endif
struct tc_entry *tc;
--- 489,494 ----
union olsr_ip_addr *originator, int origin)
{
! #if !defined(NODEBUG)
! struct ipaddr_str dstbuf, origbuf;
#endif
struct tc_entry *tc;
***************
*** 505,510 ****
OLSR_PRINTF(1, "RIB: add prefix %s/%u from %s\n",
! olsr_ip_to_string(&buf, dst), plen,
! olsr_ip_to_string(&buf, originator));
/*
--- 505,510 ----
OLSR_PRINTF(1, "RIB: add prefix %s/%u from %s\n",
! olsr_ip_to_string(&dstbuf, dst), plen,
! olsr_ip_to_string(&origbuf, originator));
/*
More information about the Olsr-cvs
mailing list