summaryrefslogtreecommitdiffhomepage
path: root/server/rpki_test.go
diff options
context:
space:
mode:
authorEiichiro Watanabe <a16tochjp@gmail.com>2017-09-30 16:16:34 +0900
committerEiichiro Watanabe <a16tochjp@gmail.com>2017-09-30 16:16:34 +0900
commit043d0d9530bc0e504ab93cfeb1b96d6b835e9054 (patch)
treedf930d8e581a0242483245e8c3c2352ae9faf85f /server/rpki_test.go
parente637c746e9bc880b86ee11b06c306e533003598d (diff)
server: Remove the wrong and verbose return value in validatePath()
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 694883e7..c7c24669 100644
--- a/server/rpki_test.go
+++ b/server/rpki_test.go
@@ -57,7 +57,7 @@ func strToASParam(str string) *bgp.PathAttributeAsPath {
}
func validateOne(tree *radix.Tree, cidr, aspathStr string) config.RpkiValidationResultType {
- r, _ := ValidatePath(65500, tree, cidr, strToASParam(aspathStr))
+ r := ValidatePath(65500, tree, cidr, strToASParam(aspathStr))
return r.Status
}