summaryrefslogtreecommitdiffhomepage
path: root/server/bmp.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-05-22 15:00:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-05-23 14:34:55 +0900
commitd936841fb3238cc9ad0f728e1c929c8fad783290 (patch)
treed6084a79d938664e00d223139e7a061bf4efb03b /server/bmp.go
parent46b6fc2ccd02404f6fa3c5a4ea71fd192ee867ba (diff)
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 <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server/bmp.go')
-rw-r--r--server/bmp.go2
1 files changed, 1 insertions, 1 deletions
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
}