summaryrefslogtreecommitdiff
path: root/proto/rip
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2013-02-26 14:13:11 +0100
committerOndrej Filip <feela@network.cz>2013-02-26 14:13:11 +0100
commitde41dcd13d6f9d4785c80e6234ac38f2a15f5429 (patch)
tree13d85f7e991348d6815bed0465c7b1f39597a974 /proto/rip
parente667622a35722ec007137e678f4f70841562e57f (diff)
Redundant lines removed.
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 5007715d..8d9271d4 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -531,13 +531,10 @@ rip_timer(timer *t)
WALK_LIST_DELSAFE( e, et, P->garbage ) {
rte *rte;
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 );
-#endif
if (now - rte->lastmod > P_CF->timeout_time) {
TRACE(D_EVENTS, "entry is too old: %I", rte->net->n.prefix );