[Olsr-cvs] olsrd-current/src/unix ifnet.c,1.38,1.39
Thomas Lopatic
(spam-protected)
Wed Oct 11 22:58:47 CEST 2006
Update of /cvsroot/olsrd/olsrd-current/src/unix
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29885/src/unix
Modified Files:
ifnet.c
Log Message:
Make TTL index a per-interface value.
Index: ifnet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/unix/ifnet.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** ifnet.c 17 Apr 2006 18:31:09 -0000 1.38
--- ifnet.c 11 Oct 2006 20:58:45 -0000 1.39
***************
*** 888,891 ****
--- 888,893 ----
ifs.int_mtu -= (olsr_cnf->ip_version == AF_INET6) ? UDP_IPV6_HDRSIZE : UDP_IPV4_HDRSIZE;
+ ifs.ttl_index = 0;
+
/* Set up buffer */
net_add_buffer(&ifs);
More information about the Olsr-cvs
mailing list