[Olsr-cvs] olsrd-current/src/win32 ifnet.c,1.31,1.32

Thomas Lopatic (spam-protected)
Wed Oct 11 22:58:47 CEST 2006


Update of /cvsroot/olsrd/olsrd-current/src/win32
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29885/src/win32

Modified Files:
	ifnet.c 
Log Message:
Make TTL index a per-interface value.


Index: ifnet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/win32/ifnet.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** ifnet.c	11 Oct 2006 20:18:36 -0000	1.31
--- ifnet.c	11 Oct 2006 20:58:45 -0000	1.32
***************
*** 915,918 ****
--- 915,920 ----
  
    New->olsr_seqnum = random() & 0xffff;
+ 
+   New->ttl_index = 0;
      
    OLSR_PRINTF(1, "\tInterface %s set up for use with index %d\n\n",





More information about the Olsr-cvs mailing list