From d936841fb3238cc9ad0f728e1c929c8fad783290 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Mon, 22 May 2017 15:00:28 +0900 Subject: bmp: Implement Information TLV on Initiation message Currently, the TLV fields are implemented as BMPTLV on the Initiation messages, but not enough decoded and required to be constructed in binary format. This patch introduces BMPInfoTLV and makes easy to handle the TLV fields. Note: This patch obsoletes BMPTLV structure. Signed-off-by: IWASE Yusuke --- server/bmp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/bmp.go') diff --git a/server/bmp.go b/server/bmp.go index 1d97104f..ec2c26ee 100644 --- a/server/bmp.go +++ b/server/bmp.go @@ -148,7 +148,7 @@ func (b *bmpClient) loop() { return err } - if err := write(bmp.NewBMPInitiation([]bmp.BMPTLV{})); err != nil { + if err := write(bmp.NewBMPInitiation([]bmp.BMPInfoTLVInterface{})); err != nil { return false } -- cgit v1.2.3