summaryrefslogtreecommitdiffhomepage
path: root/server/rpki_test.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-21 13:29:59 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-21 13:29:59 +0900
commit35efcd570d65a55cf059653ba153fdb360b71672 (patch)
tree9f7083e24b4074404afbac23d55ae37244f04b1d /server/rpki_test.go
parent7e1b1868193bb2a6bbf49d17f2af7dc1f6a962bf (diff)
rpki: delete roa validation stream API
better to be implemented outside GoBGP. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/rpki_test.go')
-rw-r--r--server/rpki_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/rpki_test.go b/server/rpki_test.go
index c58ef32b..ee4689af 100644
--- a/server/rpki_test.go
+++ b/server/rpki_test.go
@@ -54,8 +54,7 @@ func strToASParam(str string) *bgp.PathAttributeAsPath {
}
func validateOne(tree *radix.Tree, cidr, aspathStr string) config.RpkiValidationResultType {
- r, _ := validatePath(65500, tree, cidr, strToASParam(aspathStr))
- return r
+ return validatePath(65500, tree, cidr, strToASParam(aspathStr))
}
func TestValidate0(t *testing.T) {