Commit 4d9a0d1f authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Update lastmod in 'ignored' case only for RIP routes.

parent aa461248
......@@ -443,7 +443,12 @@ rte_recalculate(rtable *table, net *net, struct proto *p, struct proto *src, rte
rte_trace_in(D_ROUTES, p, new, "ignored");
/* lastmod is used internally by RIP as the last time
when the route was received. */
if (src->proto == &proto_rip)
old->lastmod = now;
*k = old->next;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment