diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-25 05:26:45 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-25 05:26:45 -0800 |
commit | 8285553257512e2f732f9e71e7576b53cdb5186f (patch) | |
tree | a0078eb77230e0f68a209ec96a140d1ae8c30501 /server | |
parent | c21a95bde591d8b409685d021eaff9b3d7852d25 (diff) |
rpki: make monitor API's reason explicit about manual validate
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index beee6560..5de93730 100644 --- a/server/server.go +++ b/server/server.go @@ -2649,6 +2649,7 @@ func (server *BgpServer) handleModRpki(grpcReq *GrpcRequest) { invalid := api.ROAResult_ValidationResult(config.RPKI_VALIDATION_RESULT_TYPE_INVALID.ToInt()) if r.OldResult != r.NewResult && (r.OldResult == invalid || r.NewResult == invalid) { + r.Reason = api.ROAResult_REVALIDATE send = append(send, r) } } |