[Olsr-cvs] olsrd-current/src/cfgparser cfgfile_gen.c, 1.3, 1.4 oparse.y, 1.29, 1.30
Andreas T�nnesen
(spam-protected)
Tue Dec 12 12:22:17 CET 2006
Update of /cvsroot/olsrd/olsrd-current/src/cfgparser
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20560/src/cfgparser
Modified Files:
cfgfile_gen.c oparse.y
Log Message:
Committing some extended debug output
Index: cfgfile_gen.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/cfgfile_gen.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** cfgfile_gen.c 17 Apr 2006 18:31:09 -0000 1.3
--- cfgfile_gen.c 12 Dec 2006 11:22:15 -0000 1.4
***************
*** 369,372 ****
--- 369,373 ----
struct in_addr in4;
+ printf("\n\n\n\nolsrd_write_cnf_buf bufsize %d\n\n\n\n\n", bufsize);
if(buf == NULL || bufsize < MAX_LINESIZE)
{
Index: oparse.y
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/oparse.y,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** oparse.y 17 Apr 2006 18:31:09 -0000 1.29
--- oparse.y 12 Dec 2006 11:22:15 -0000 1.30
***************
*** 390,394 ****
if(inet_aton($2->string, &in) == 0)
{
! fprintf(stderr, "Failed converting IP address %s\n", $2->string);
return -1;
}
--- 390,394 ----
if(inet_aton($2->string, &in) == 0)
{
! fprintf(stderr, "isetip4br: Failed converting IP address %s\n", $2->string);
return -1;
}
***************
*** 447,451 ****
if(inet_pton(AF_INET6, $2->string, &in6) < 0)
{
! fprintf(stderr, "Failed converting IP address %s\n", $2->string);
return -1;
}
--- 447,451 ----
if(inet_pton(AF_INET6, $2->string, &in6) < 0)
{
! fprintf(stderr, "isetip6mults: Failed converting IP address %s\n", $2->string);
return -1;
}
***************
*** 476,480 ****
if(inet_pton(AF_INET6, $2->string, &in6) < 0)
{
! fprintf(stderr, "Failed converting IP address %s\n", $2->string);
return -1;
}
--- 476,480 ----
if(inet_pton(AF_INET6, $2->string, &in6) < 0)
{
! fprintf(stderr, "isetip6multg: Failed converting IP address %s\n", $2->string);
return -1;
}
***************
*** 713,717 ****
if(inet_aton($1->string, &in) == 0)
{
! fprintf(stderr, "Failed converting IP address %s\n", $1->string);
return -1;
}
--- 713,717 ----
if(inet_aton($1->string, &in) == 0)
{
! fprintf(stderr, "ihna4entry: Failed converting IP address %s\n", $1->string);
return -1;
}
***************
*** 719,723 ****
if(inet_aton($2->string, &in) == 0)
{
! fprintf(stderr, "Failed converting IP address %s\n", $1->string);
return -1;
}
--- 719,723 ----
if(inet_aton($2->string, &in) == 0)
{
! fprintf(stderr, "ihna4entry: Failed converting IP address %s\n", $1->string);
return -1;
}
***************
*** 750,754 ****
if(inet_pton(AF_INET6, $1->string, &in6) < 0)
{
! fprintf(stderr, "Failed converting IP address %s\n", $1->string);
return -1;
}
--- 750,754 ----
if(inet_pton(AF_INET6, $1->string, &in6) < 0)
{
! fprintf(stderr, "ihna6entry: Failed converting IP address %s\n", $1->string);
return -1;
}
***************
*** 757,761 ****
if(($2->integer < 0) || ($2->integer > 128))
{
! fprintf(stderr, "Illegal IPv6 prefix length %d\n", $2->integer);
return -1;
}
--- 757,761 ----
if(($2->integer < 0) || ($2->integer > 128))
{
! fprintf(stderr, "ihna6entry: Illegal IPv6 prefix length %d\n", $2->integer);
return -1;
}
More information about the Olsr-cvs
mailing list