[Olsr-cvs] olsrd-current/src/unix ifnet.c,1.37,1.38
Andreas T�nnesen
(spam-protected)
Mon Apr 17 20:31:11 CEST 2006
- Previous message: [Olsr-cvs] olsrd-current/files olsrd.conf.5.gz, 1.7, 1.8 olsrd.conf.default.lq, 1.1, 1.2 olsrd.conf.default.lq-fisheye, 1.2, 1.3 olsrd.conf.default.rfc, 1.2, 1.3 olsrd.conf.win32.lq, 1.1, 1.2 olsrd.conf.win32.rfc, 1.1, 1.2
- Next message: [Olsr-cvs] olsrd-current/src interfaces.c, 1.28, 1.29 interfaces.h, 1.32, 1.33 olsr_cfg.h, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/src/unix
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15372/src/unix
Modified Files:
ifnet.c
Log Message:
Added new config options NicChgsPollInt and AutoDetectChanges
Index: ifnet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/unix/ifnet.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** ifnet.c 14 Apr 2006 05:18:31 -0000 1.37
--- ifnet.c 17 Apr 2006 18:31:09 -0000 1.38
***************
*** 128,135 ****
continue;
if(tmp_if->configured)
! chk_if_changed(tmp_if);
else
! chk_if_up(tmp_if, 3);
}
--- 128,148 ----
continue;
+ if(!tmp_if->cnf->autodetect_chg)
+ {
+ #ifdef DEBUG
+ /* Don't check this interface */
+ OLSR_PRINTF(3, "Not checking interface %s\n", tmp_if->name)
+ #endif
+ continue;
+ }
+
if(tmp_if->configured)
! {
! chk_if_changed(tmp_if);
! }
else
! {
! chk_if_up(tmp_if, 3);
! }
}
- Previous message: [Olsr-cvs] olsrd-current/files olsrd.conf.5.gz, 1.7, 1.8 olsrd.conf.default.lq, 1.1, 1.2 olsrd.conf.default.lq-fisheye, 1.2, 1.3 olsrd.conf.default.rfc, 1.2, 1.3 olsrd.conf.win32.lq, 1.1, 1.2 olsrd.conf.win32.rfc, 1.1, 1.2
- Next message: [Olsr-cvs] olsrd-current/src interfaces.c, 1.28, 1.29 interfaces.h, 1.32, 1.33 olsr_cfg.h, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list