[Olsr-cvs] olsrd-current/src/olsr_switch main.c,1.31,1.32
Bernd Petrovitsch
(spam-protected)
Thu Nov 22 12:43:38 CET 2007
Update of /cvsroot/olsrd/olsrd-current/src/olsr_switch
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26486/src/olsr_switch
Modified Files:
main.c
Log Message:
* bug fix: set "ipsize" and "maxplen" if we set the the "ip_version"
Index: main.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/olsr_switch/main.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** main.c 8 Nov 2007 23:54:28 -0000 1.31
--- main.c 22 Nov 2007 11:43:35 -0000 1.32
***************
*** 545,549 ****
logbits = LOG_DEFAULT;
ip_version = AF_INET;
! ipsize = 4;
srand((unsigned int)time(NULL));
--- 545,549 ----
logbits = LOG_DEFAULT;
ip_version = AF_INET;
! ipsize = sizeof(struct in_addr);
srand((unsigned int)time(NULL));
More information about the Olsr-cvs
mailing list