mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 16:54:30 +00:00
bgpd: temporary set timestamp to 0 for loc rib monitoring messages
set timestamp to 0 for loc rib monitoring messages as path selection time is not available atm this is temporary and tv is meant to be set to the path selection/install time at some point Signed-off-by: Maxence Younsi <mx.yns@outlook.fr>
This commit is contained in:
parent
bbf6cb6867
commit
6691e1dc61
@ -326,7 +326,8 @@ static void bmp_per_peer_hdr(struct stream *s, struct bgp* bgp, struct peer *pee
|
|||||||
stream_put_in_addr(s, bgp_id);
|
stream_put_in_addr(s, bgp_id);
|
||||||
|
|
||||||
/* Timestamp */
|
/* Timestamp */
|
||||||
if (tv) {
|
/* set to 0 for LOC-RIB INSTANCE as install uptime is not saved atm */
|
||||||
|
if (!is_locrib && tv) {
|
||||||
stream_putl(s, tv->tv_sec);
|
stream_putl(s, tv->tv_sec);
|
||||||
stream_putl(s, tv->tv_usec);
|
stream_putl(s, tv->tv_usec);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user