diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2018-12-23 23:12:49 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2018-12-23 23:40:37 +0900 |
commit | 8d0a8b0ffa696a3838740fec7accc54ccfb452ab (patch) | |
tree | cc9dd2da324045dba80bb6dc1d1149ed0114c639 /cmd/gobgpd | |
parent | ababf3068c48d665e2d9d7816cbb521c74fc47c5 (diff) |
make the usage of type name in protobuf consistent
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'cmd/gobgpd')
-rw-r--r-- | cmd/gobgpd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index 5c8f5ac5..15851bd7 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -218,7 +218,7 @@ func main() { if err := bgpServer.AddBmp(context.Background(), &api.AddBmpRequest{ Address: c.Config.Address, Port: c.Config.Port, - Type: api.AddBmpRequest_MonitoringPolicy(c.Config.RouteMonitoringPolicy.ToInt()), + Policy: api.AddBmpRequest_MonitoringPolicy(c.Config.RouteMonitoringPolicy.ToInt()), StatisticsTimeout: int32(c.Config.StatisticsTimeout), }); err != nil { log.Fatalf("failed to set bmp config: %s", err) |