diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-05-13 18:28:07 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-13 18:28:07 -0300 |
| commit | 4c57d0a07123f382ac5ada12ddc1590731d363b1 (patch) | |
| tree | ecffc45c3ceb3420f00dfe8dae68bedc51888d53 /zebra/zebra_rib.c | |
| parent | 7819f72ea27bbf04181458e3598c9bf8c816be32 (diff) | |
| parent | 98572489ea2600cf11830a2af775dd98f572f936 (diff) | |
Merge pull request #4320 from donaldsharp/re_monotime
zebra: Switch to using monotime(NULL) for re->uptime
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 3623852afd..7232e0225e 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -3003,7 +3003,7 @@ int rib_add(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, re->table = table_id; re->vrf_id = vrf_id; re->nexthop_num = 0; - re->uptime = time(NULL); + re->uptime = monotime(NULL); re->tag = tag; /* Add nexthop. */ |
