Redundant lines removed.
This commit is contained in:
parent
e667622a35
commit
de41dcd13d
1 changed files with 3 additions and 6 deletions
|
@ -531,13 +531,10 @@ rip_timer(timer *t)
|
||||||
WALK_LIST_DELSAFE( e, et, P->garbage ) {
|
WALK_LIST_DELSAFE( e, et, P->garbage ) {
|
||||||
rte *rte;
|
rte *rte;
|
||||||
rte = SKIP_BACK( struct rte, u.rip.garbage, e );
|
rte = SKIP_BACK( struct rte, u.rip.garbage, e );
|
||||||
#ifdef LOCAL_DEBUG
|
|
||||||
{
|
|
||||||
struct proto *p = rte->attrs->proto;
|
|
||||||
CHK_MAGIC;
|
CHK_MAGIC;
|
||||||
}
|
|
||||||
DBG( "Garbage: (%p)", rte ); rte_dump( rte );
|
DBG( "Garbage: (%p)", rte ); rte_dump( rte );
|
||||||
#endif
|
|
||||||
|
|
||||||
if (now - rte->lastmod > P_CF->timeout_time) {
|
if (now - rte->lastmod > P_CF->timeout_time) {
|
||||||
TRACE(D_EVENTS, "entry is too old: %I", rte->net->n.prefix );
|
TRACE(D_EVENTS, "entry is too old: %I", rte->net->n.prefix );
|
||||||
|
|
Loading…
Reference in a new issue