[Olsr-cvs] olsrd-current/lib/bmf/src NetworkInterfaces.c,1.2,1.3
Bernd Petrovitsch
(spam-protected)
Sun Feb 11 12:51:59 CET 2007
Update of /cvsroot/olsrd/olsrd-current/lib/bmf/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23165/lib/bmf/src
Modified Files:
NetworkInterfaces.c
Log Message:
* fixes fro fixes from Sven-Ola
Index: NetworkInterfaces.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/bmf/src/NetworkInterfaces.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** NetworkInterfaces.c 10 Feb 2007 17:05:56 -0000 1.2
--- NetworkInterfaces.c 11 Feb 2007 11:51:56 -0000 1.3
***************
*** 1142,1149 ****
kernel_route.rt_dev = EtherTunTapIfName;
! /* (spam-protected): not available in olsrd-0.5/src/defs.h */
! extern int ioctl_s;
!
! if (ioctl(ioctl_s, SIOCDELRT, &kernel_route) < 0)
{
olsr_printf(
--- 1142,1146 ----
kernel_route.rt_dev = EtherTunTapIfName;
! if (ioctl(olsr_cnf->ioctl_s, SIOCDELRT, &kernel_route) < 0)
{
olsr_printf(
More information about the Olsr-cvs
mailing list