summaryrefslogtreecommitdiffhomepage
path: root/pkg/packet
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-10-30 09:51:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-10-30 10:08:14 +0900
commita88d5611d2dd6dfb49aff0b77b7725d4b62b9937 (patch)
tree4ae735e34c9b7e77f5fb9a9d8ff45c00fcf3847a /pkg/packet
parent5a2985e52fa719731ea03bf23f88dad03984de84 (diff)
server: unexport const
No need to export Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'pkg/packet')
-rw-r--r--pkg/packet/bmp/bmp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/packet/bmp/bmp.go b/pkg/packet/bmp/bmp.go
index 535ef4b0..780d77ca 100644
--- a/pkg/packet/bmp/bmp.go
+++ b/pkg/packet/bmp/bmp.go
@@ -371,7 +371,7 @@ func (body *BMPStatisticsReport) Serialize() ([]byte, error) {
}
const (
- BMP_PEER_DOWN_REASON_UNKNOWN = iota
+ BMP_peerDownByUnknownReason = iota
BMP_PEER_DOWN_REASON_LOCAL_BGP_NOTIFICATION
BMP_PEER_DOWN_REASON_LOCAL_NO_NOTIFICATION
BMP_PEER_DOWN_REASON_REMOTE_BGP_NOTIFICATION