Commit 35dcc5e2 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Set the time when creating a new destination.

parent ab03b906
......@@ -57,6 +57,7 @@ find_destination(const unsigned char *d, int create, unsigned char seqno)
}
dests[i].seqno = seqno;
dests[i].metric = INFINITY;
dests[i].time = now.tv_sec;
return &dests[i];
}
......
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