diff options
Diffstat (limited to 'usr.sbin/routed/input.c')
-rw-r--r-- | usr.sbin/routed/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/routed/input.c b/usr.sbin/routed/input.c index fb0ee79..5a70e1a 100644 --- a/usr.sbin/routed/input.c +++ b/usr.sbin/routed/input.c @@ -94,7 +94,7 @@ rip_input(from, rip, size) n->rip_dst.sa_len = sizeof(n->rip_dst); #endif n->rip_metric = ntohl(n->rip_metric); - /* + /* * A single entry with sa_family == AF_UNSPEC and * metric ``infinity'' means ``all routes''. * We respond to routers only if we are acting @@ -164,7 +164,7 @@ rip_input(from, rip, size) } rt = rtfind(from); if (rt == 0 || ((rt->rt_state & RTS_INTERFACE) == 0) && - rt->rt_metric >= ifp->int_metric) + rt->rt_metric >= ifp->int_metric) addrouteforif(ifp); else rt->rt_timer = 0; |