diff options
Diffstat (limited to 'server/rpki.go')
-rw-r--r-- | server/rpki.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/rpki.go b/server/rpki.go index 293b0a97..aa50a475 100644 --- a/server/rpki.go +++ b/server/rpki.go @@ -460,8 +460,8 @@ func (c *roaManager) validate(pathList []*table.Path, isMonitor bool) []*api.ROA rr := &api.ROAResult{ OriginAs: path.GetSourceAs(), Prefix: path.GetNlri().String(), - OldResult: api.ROAResult_ValidationResult(path.Validation), - NewResult: api.ROAResult_ValidationResult(r), + OldResult: api.ROAResult_ValidationResult(path.Validation.ToInt()), + NewResult: api.ROAResult_ValidationResult(r.ToInt()), Roas: apiRoaList, } results = append(results, rr) |