SCCS-vsn: sbin/routed/input.c 5.8
-static char sccsid[] = "@(#)input.c 5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)input.c 5.8 (Berkeley) %G%";
if (equal(from, &rt->rt_router)) {
if (n->rip_metric != rt->rt_metric)
rtchange(rt, from, n->rip_metric);
if (equal(from, &rt->rt_router)) {
if (n->rip_metric != rt->rt_metric)
rtchange(rt, from, n->rip_metric);
+ if (rt->rt_metric < HOPCNT_INFINITY)
+ rt->rt_timer = 0;
} else if ((unsigned) (n->rip_metric) < rt->rt_metric ||
(rt->rt_timer > (EXPIRE_TIME/2) &&
rt->rt_metric == n->rip_metric)) {
} else if ((unsigned) (n->rip_metric) < rt->rt_metric ||
(rt->rt_timer > (EXPIRE_TIME/2) &&
rt->rt_metric == n->rip_metric)) {