summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gobgp/cmd/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/cmd/policy.go b/gobgp/cmd/policy.go
index c8dcb2e8..665d3e4a 100644
--- a/gobgp/cmd/policy.go
+++ b/gobgp/cmd/policy.go
@@ -437,7 +437,7 @@ func printStatement(indent int, s *api.Statement) {
}
rpki := s.Conditions.RpkiResult
- if rpki > -1 {
+ if rpki > 0 {
fmt.Printf("%sRPKI result: %s\n", sIndent(indent+4), config.IntToRpkiValidationResultTypeMap[int(rpki)])
}