[Olsr-cvs] olsrd-current/src net_olsr.c,1.5,1.6
Andreas T�nnesen
(spam-protected)
Thu Dec 22 16:06:55 CET 2005
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32540/src
Modified Files:
net_olsr.c
Log Message:
Patches from Sven-Ola
Index: net_olsr.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/net_olsr.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** net_olsr.c 23 Oct 2005 20:58:14 -0000 1.5
--- net_olsr.c 22 Dec 2005 15:06:52 -0000 1.6
***************
*** 152,156 ****
new_buf->bufsize = ifp->int_mtu;
new_buf->if_index = ifp->if_nr;
! new_buf->maxsize = ifp->int_mtu - OLSR_HEADERSIZE;
new_buf->pending = 0;
new_buf->reserved = 0;
--- 152,157 ----
new_buf->bufsize = ifp->int_mtu;
new_buf->if_index = ifp->if_nr;
! new_buf->maxsize = ifp->int_mtu - OLSR_HEADERSIZE - (olsr_cnf->ip_version == AF_INET ? 28 : 0);
!
new_buf->pending = 0;
new_buf->reserved = 0;
More information about the Olsr-cvs
mailing list