diff options
author | JieJhih Jhang <aawer12345tw@yahoo.com.tw> | 2019-03-23 21:52:06 +0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-03-25 20:11:44 +0900 |
commit | 80ff3a325cbced352489fa4ea4b570e5f08062ef (patch) | |
tree | 86ecd1732490a907cda674b10de71d52c4df42b0 /cmd/gobgpd/main.go | |
parent | a61191604194e0ab1a4500ba57ecbec5de88b2e3 (diff) |
support BMP sysName and sysDescr configuration
Diffstat (limited to 'cmd/gobgpd/main.go')
-rw-r--r-- | cmd/gobgpd/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |