[Olsr-cvs] olsrd-current/src/unix ifnet.c,1.42,1.43
Bernd Petrovitsch
(spam-protected)
Mon Feb 5 00:36:37 CET 2007
Update of /cvsroot/olsrd/olsrd-current/src/unix
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1166/src/unix
Modified Files:
ifnet.c
Log Message:
* killed the MAX_IFS variable and another statically sized array
Index: ifnet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/unix/ifnet.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** ifnet.c 4 Feb 2007 22:37:35 -0000 1.42
--- ifnet.c 4 Feb 2007 23:36:35 -0000 1.43
***************
*** 871,878 ****
/* Deactivate IP spoof filter */
! deactivate_spoof(if_basename(ifr.ifr_name), iface->index, olsr_cnf->ip_version);
/* Disable ICMP redirects */
! disable_redirects(if_basename(ifr.ifr_name), iface->index, olsr_cnf->ip_version);
}
--- 871,878 ----
/* Deactivate IP spoof filter */
! deactivate_spoof(if_basename(ifr.ifr_name), &ifs, olsr_cnf->ip_version);
/* Disable ICMP redirects */
! disable_redirects(if_basename(ifr.ifr_name), &ifs, olsr_cnf->ip_version);
}
More information about the Olsr-cvs
mailing list