log(L_WARN"Got metric %d from %I",metric,whotoldme);
return;
...
...
@@ -437,12 +437,12 @@ rip_timer(timer *t)
DBG("Garbage: ");rte_dump(rte);
if(now-rte->u.rip.lastmodX>P_CF->timeout_time){
TRACE("RIP: entry is too old: ");rte_dump(rte);
TRACE(D_EVENTS,"RIP: entry is too old: ");rte_dump(rte);
e->metric=P_CF->infinity;
}
if(now-rte->u.rip.lastmodX>P_CF->garbage_time){
TRACE("RIP: entry is much too old: ");rte_dump(rte);
TRACE(D_EVENTS,"RIP: entry is much too old: ");rte_dump(rte);
rte_discard(p->table,rte);
}
}
...
...
@@ -604,7 +604,7 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags, struct iface_
/* Don't try to transmit into this one? Well, why not? This should not happen, anyway :-) */
}
TRACE("RIP/%s: listening on %s, port %d, mode %s (%I)",P_NAME,rif->iface?rif->iface->name:"(dummy)",P_CF->port,want_multicast?"multicast":"broadcast",rif->sock->daddr);
TRACE(D_EVENTS,"RIP/%s: listening on %s, port %d, mode %s (%I)",P_NAME,rif->iface?rif->iface->name:"(dummy)",P_CF->port,want_multicast?"multicast":"broadcast",rif->sock->daddr);