From 8d0a8b0ffa696a3838740fec7accc54ccfb452ab Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sun, 23 Dec 2018 23:12:49 +0900 Subject: make the usage of type name in protobuf consistent Signed-off-by: FUJITA Tomonori --- cmd/gobgpd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/gobgpd/main.go') 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) -- cgit v1.2.3