New routed.h that goes with the new routed.
This commit is contained in:
parent
503129209f
commit
41d689b7b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17253
@ -38,7 +38,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#ident "$Revision: 1.7 $"
|
||||
#ident "$Revision: 1.8 $"
|
||||
|
||||
/*
|
||||
* Routing Information Protocol
|
||||
@ -153,18 +153,6 @@ char *ripcmds[RIPCMD_MAX] = {
|
||||
#define EXPIRE_TIME 180 /* time to mark entry invalid */
|
||||
#define GARBAGE_TIME 240 /* time to garbage collect */
|
||||
|
||||
/* It is good to continue advertising bad routes this long so other
|
||||
* routers notice. This is fairly cheap, so it can be long. It
|
||||
* should be long to combat bogus holddowns implemented by major
|
||||
* router vendors.
|
||||
*/
|
||||
#define POISON_TIME 120
|
||||
|
||||
/* Do not switch to a new route for this long after a route has gone
|
||||
* bad, to ensure that the new route is not a remanent of the old route.
|
||||
*/
|
||||
#define HOLD_TIME (MAX_WAITTIME*2)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user