summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/bmp.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/bmp.go')
-rw-r--r--pkg/server/bmp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/bmp.go b/pkg/server/bmp.go
index 48215628..ea6a9fe6 100644
--- a/pkg/server/bmp.go
+++ b/pkg/server/bmp.go
@@ -230,7 +230,7 @@ func (b *bmpClient) loop() {
if n.State.SessionState != config.SESSION_STATE_ESTABLISHED {
continue
}
- if err := write(bmpPeerStats(bmp.BMP_PEER_TYPE_GLOBAL, 0, 0, n)); err != nil {
+ if err := write(bmpPeerStats(bmp.BMP_PEER_TYPE_GLOBAL, 0, time.Now().Unix(), n)); err != nil {
return false
}
}