summaryrefslogtreecommitdiffhomepage
path: root/server/rpki_test.go
diff options
context:
space:
mode:
authorEiichrio Watanabe <a16tochjp@gmail.com>2017-01-17 15:34:15 +0900
committerEiichrio Watanabe <a16tochjp@gmail.com>2017-01-17 15:34:15 +0900
commit64a371859477825690999de2e1c801f4af7d78d1 (patch)
treed905673943e3f6d3bd5d4672202b1ae1b226c047 /server/rpki_test.go
parent7babf94567da75d09d7df5ce1a0d7433a5f04c96 (diff)
server: export some rpki property for library usage
Diffstat (limited to 'server/rpki_test.go')
-rw-r--r--server/rpki_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/rpki_test.go b/server/rpki_test.go
index fd29b04f..3273d9dc 100644
--- a/server/rpki_test.go
+++ b/server/rpki_test.go
@@ -55,7 +55,7 @@ func strToASParam(str string) *bgp.PathAttributeAsPath {
}
func validateOne(tree *radix.Tree, cidr, aspathStr string) config.RpkiValidationResultType {
- return validatePath(65500, tree, cidr, strToASParam(aspathStr))
+ return ValidatePath(65500, tree, cidr, strToASParam(aspathStr))
}
func TestValidate0(t *testing.T) {