diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-12 13:16:58 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-12 13:44:33 +0900 |
commit | 6180ffb7106e3673e4da5a2d2ce1f87612462721 (patch) | |
tree | 74646c52142ccda5b34231207cc741f8288f38ec /server/server.go | |
parent | c2f5b1a176a1b7f72658821d057e23414e839718 (diff) |
support rpki validation
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index b1d0d956..4c202209 100644 --- a/server/server.go +++ b/server/server.go @@ -683,6 +683,10 @@ func (server *BgpServer) handleFSMMessage(peer *Peer, e *fsmMsg, incoming chan * msgs = append(msgs, newSenderMsg(peer, msgList)) } break + } else { + if len(pathList) > 0 { + server.roaClient.validate(pathList) + } } msgs = append(msgs, server.propagateUpdate(peer.conf.NeighborConfig.NeighborAddress.String(), peer.isRouteServerClient(), pathList)...) |