mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Redundant lines removed.
This commit is contained in:
parent
e667622a35
commit
de41dcd13d
@ -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
|
|
||||||
{
|
CHK_MAGIC;
|
||||||
struct proto *p = rte->attrs->proto;
|
|
||||||
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 New Issue
Block a user