diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-05 07:13:38 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-05 07:13:38 -0800 |
commit | dd64daeaded763cdd8c78c60ee27e92f213257a8 (patch) | |
tree | 1c8066cf5ee2d42bb281608c4107b48e155ac6f2 /server/rpki_test.go | |
parent | 1df56b0786a392b8e84d5dc021ff69af2b2a1824 (diff) |
rpki: preparation for stream API
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/rpki_test.go')
-rw-r--r-- | server/rpki_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/rpki_test.go b/server/rpki_test.go index ca620d20..8be709ea 100644 --- a/server/rpki_test.go +++ b/server/rpki_test.go @@ -53,7 +53,8 @@ func strToASParam(str string) *bgp.PathAttributeAsPath { } func validateOne(tree *radix.Tree, cidr, aspathStr string) config.RpkiValidationResultType { - return validatePath(65500, tree, cidr, strToASParam(aspathStr)) + r, _ := validatePath(65500, tree, cidr, strToASParam(aspathStr)) + return r } func TestValidate0(t *testing.T) { |