summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/server.go
diff options
context:
space:
mode:
authorEiichiro Watanabe <a16tochjp@gmail.com>2018-11-13 14:41:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-14 19:32:24 +0900
commitfa387c90650613bceaca6c6c90c8744405988f8c (patch)
treeb41edff67b98094e9a8d85710032849f9d7c5671 /pkg/server/server.go
parent99b272438618c33fecc74ae8514c6a10f3de8f8f (diff)
Fix Statistics Report in BMP
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r--pkg/server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index 688a8e9f..256105aa 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -1607,6 +1607,7 @@ func (s *BgpServer) AddBmp(ctx context.Context, r *api.AddBmpRequest) error {
Address: r.Address,
Port: r.Port,
RouteMonitoringPolicy: config.IntToBmpRouteMonitoringPolicyTypeMap[int(r.Type)],
+ StatisticsTimeout: uint16(r.StatisticsTimeout),
})
}, true)
}