[Olsr-cvs] olsrd-current/src/unix ifnet.c,1.43,1.44
Bernd Petrovitsch
(spam-protected)
Sat Feb 10 20:27:35 CET 2007
- Previous message: [Olsr-cvs] olsrd-current/files olsrd.conf.default.lq, 1.2, 1.3 olsrd.conf.default.lq-fisheye, 1.3, 1.4 olsrd.conf.default.rfc, 1.3, 1.4
- Next message: [Olsr-cvs] olsrd-current/src hysteresis.c, 1.17, 1.18 link_set.c, 1.65, 1.66 link_set.h, 1.30, 1.31 local_hna_set.c, 1.11, 1.12 local_hna_set.h, 1.9, 1.10 lq_mpr.c, 1.11, 1.12 mid_set.c, 1.16, 1.17 mid_set.h, 1.13, 1.14 process_package.c, 1.37, 1.38 routing_table.c, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/src/unix
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9104/src/unix
Modified Files:
ifnet.c
Log Message:
* added the rest if the olsrd-fixes-eric patch from Sven-Ola
Index: ifnet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/unix/ifnet.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** ifnet.c 4 Feb 2007 23:36:35 -0000 1.43
--- ifnet.c 10 Feb 2007 19:27:33 -0000 1.44
***************
*** 328,334 ****
OLSR_PRINTF(1, "\tOld:%s\n", sockaddr_to_string(&ifp->int_addr))
OLSR_PRINTF(1, "\tNew:%s\n", sockaddr_to_string(&ifr.ifr_addr))
!
if(memcmp(&olsr_cnf->main_addr,
! &((struct sockaddr_in *)&ifp->int_addr)->sin_addr.s_addr,
olsr_cnf->ipsize) == 0)
{
--- 328,336 ----
OLSR_PRINTF(1, "\tOld:%s\n", sockaddr_to_string(&ifp->int_addr))
OLSR_PRINTF(1, "\tNew:%s\n", sockaddr_to_string(&ifr.ifr_addr))
!
! ifp->int_addr = ifr.ifr_addr;
!
if(memcmp(&olsr_cnf->main_addr,
! &ifp->ip_addr,
olsr_cnf->ipsize) == 0)
{
***************
*** 340,344 ****
}
- ifp->int_addr = ifr.ifr_addr;
memcpy(&ifp->ip_addr,
&((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr,
--- 342,345 ----
- Previous message: [Olsr-cvs] olsrd-current/files olsrd.conf.default.lq, 1.2, 1.3 olsrd.conf.default.lq-fisheye, 1.3, 1.4 olsrd.conf.default.rfc, 1.3, 1.4
- Next message: [Olsr-cvs] olsrd-current/src hysteresis.c, 1.17, 1.18 link_set.c, 1.65, 1.66 link_set.h, 1.30, 1.31 local_hna_set.c, 1.11, 1.12 local_hna_set.h, 1.9, 1.10 lq_mpr.c, 1.11, 1.12 mid_set.c, 1.16, 1.17 mid_set.h, 1.13, 1.14 process_package.c, 1.37, 1.38 routing_table.c, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list