diff options
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 3273d9dc..34b9a237 100644 --- a/server/rpki_test.go +++ b/server/rpki_test.go @@ -55,7 +55,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) { |