summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-12 13:43:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-12 13:44:33 +0900
commit84f3a20caeab95e2e41e8b13914e7d4096973376 (patch)
treecd197ad0b590fec9487ca909f126b63f7dd80629 /config/bgp_configs.go
parent6180ffb7106e3673e4da5a2d2ce1f87612462721 (diff)
rpki: don't show validation result if rpki disabled
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index 422c9954..309f7d65 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -116,7 +116,8 @@ const (
type RpkiValidationResultType int
const (
- RPKI_VALIDATION_RESULT_TYPE_NOT_FOUND RpkiValidationResultType = iota
+ RPKI_VALIDATION_RESULT_TYPE_NONE RpkiValidationResultType = iota
+ RPKI_VALIDATION_RESULT_TYPE_NOT_FOUND
RPKI_VALIDATION_RESULT_TYPE_VALID
RPKI_VALIDATION_RESULT_TYPE_INVALID
)