+ /*
+ * Update timer for interface on which the packet arrived.
+ * If from other end of a point-to-point link that isn't
+ * in the routing tables, (re-)add the route.
+ */
+ if ((rt = rtfind(from)) &&
+ (rt->rt_state & (RTS_INTERFACE | RTS_REMOTE)))
+ rt->rt_timer = 0;
+ else if (ifp = if_ifwithdstaddr(from))
+ addrouteforif(ifp);
+ else if (if_iflookup(from) == 0) {
+ syslog(LOG_ERR, "packet from unknown router, %s",
+ (*afswitch[from->sa_family].af_format)(from));
+ return;
+ }