[Olsr-cvs] olsrd-current/src/unix ifnet.c,1.31.2.2,1.31.2.3
Andreas T�nnesen
(spam-protected)
Mon Apr 17 20:25:32 CEST 2006
- Previous message: [Olsr-cvs] olsrd-current/src/cfgparser cfgfile_gen.c, 1.2, 1.2.2.1 olsrd_conf.c, 1.46, 1.46.2.1 oparse.y, 1.28, 1.28.2.1 oscan.lex, 1.20, 1.20.2.1
- Next message: [Olsr-cvs] olsrd-current/files olsrd.conf.default.lq, 1.1, 1.1.2.1 olsrd.conf.default.lq-fisheye, 1.2, 1.2.2.1 olsrd.conf.default.rfc, 1.2, 1.2.2.1 olsrd.conf.win32.lq, 1.1, 1.1.2.1 olsrd.conf.win32.rfc, 1.1, 1.1.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/src/unix
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11652/src/unix
Modified Files:
Tag: olsrd_04
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.31.2.2
retrieving revision 1.31.2.3
diff -C2 -d -r1.31.2.2 -r1.31.2.3
*** ifnet.c 14 Apr 2006 05:18:16 -0000 1.31.2.2
--- ifnet.c 17 Apr 2006 18:25:30 -0000 1.31.2.3
***************
*** 123,130 ****
continue;
if(tmp_if->configured)
! chk_if_changed(tmp_if);
else
! chk_if_up(tmp_if, 3);
}
--- 123,143 ----
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/src/cfgparser cfgfile_gen.c, 1.2, 1.2.2.1 olsrd_conf.c, 1.46, 1.46.2.1 oparse.y, 1.28, 1.28.2.1 oscan.lex, 1.20, 1.20.2.1
- Next message: [Olsr-cvs] olsrd-current/files olsrd.conf.default.lq, 1.1, 1.1.2.1 olsrd.conf.default.lq-fisheye, 1.2, 1.2.2.1 olsrd.conf.default.rfc, 1.2, 1.2.2.1 olsrd.conf.win32.lq, 1.1, 1.1.2.1 olsrd.conf.win32.rfc, 1.1, 1.1.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list