From 80ff3a325cbced352489fa4ea4b570e5f08062ef Mon Sep 17 00:00:00 2001 From: JieJhih Jhang Date: Sat, 23 Mar 2019 21:52:06 +0800 Subject: support BMP sysName and sysDescr configuration --- cmd/gobgpd/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index 0760ae3a..06b38b88 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -279,6 +279,8 @@ func main() { if err := bgpServer.AddBmp(context.Background(), &api.AddBmpRequest{ Address: c.Config.Address, Port: c.Config.Port, + SysName: c.Config.SysName, + SysDescr: c.Config.SysDescr, Policy: api.AddBmpRequest_MonitoringPolicy(c.Config.RouteMonitoringPolicy.ToInt()), StatisticsTimeout: int32(c.Config.StatisticsTimeout), }); err != nil { -- cgit v1.2.3